mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-09-29 13:03:30 -07:00
adding gcp-http-lb role
This commit is contained in:
parent
9f02c01c84
commit
d2d7a95f38
8 changed files with 225 additions and 0 deletions
38
roles/gcp-http-lb/README.md
Normal file
38
roles/gcp-http-lb/README.md
Normal file
|
@ -0,0 +1,38 @@
|
|||
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_project: the name of your gcp project
|
||||
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
|
||||
-------
|
||||
|
||||
Apache2
|
||||
|
||||
Author Information
|
||||
------------------
|
||||
|
||||
Google Inc.
|
Loading…
Add table
Add a link
Reference in a new issue