mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-05 10:20:26 -07:00
.. | ||
defaults | ||
meta | ||
tasks | ||
tests | ||
vars | ||
README.md |
gcp_http_lb
This role helps you set up a Google Cloud Load Balancer.
Requirements
- requests Python library
- googleauth Python library
Role Variables
gcp_http_lb_backend: the selflink for the backend that this load balancer will be supporting
gcp_http_lb_gcp_project: the name of your gcp project
gcp_http_lb_service_account_file: the path to your service account JSON file
Example Playbook
- hosts: local
vars:
gcp_http_lb_backend: projects/project/zones/us-central1-c/instanceGroups/my-instance-group
roles:
- role: gcp_http_lb
License
GPLv3
Author Information
Google Inc.