mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix gce_backend_service examples for healthchecks (#31134)
gce_backend_service module expects healthchecks to be an array of string. The previous example incorrectly mentioned healthchecks as an array of objects each containing a `name` key.
This commit is contained in:
parent
f5c35bc7f9
commit
e26d758d6f
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ EXAMPLES = '''
|
||||||
backends:
|
backends:
|
||||||
- instance_group: managed_instance_group_1
|
- instance_group: managed_instance_group_1
|
||||||
healthchecks:
|
healthchecks:
|
||||||
- name: healthcheck_name_for_backend_service
|
- healthcheck_name_for_backend_service
|
||||||
port_name: myhttpport
|
port_name: myhttpport
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ EXAMPLES = '''
|
||||||
max_utilization: 0.5
|
max_utilization: 0.5
|
||||||
max_rate: 4
|
max_rate: 4
|
||||||
healthchecks:
|
healthchecks:
|
||||||
- name: healthcheck_name_for_backend_service
|
- healthcheck_name_for_backend_service
|
||||||
port_name: myhttpport
|
port_name: myhttpport
|
||||||
state: present
|
state: present
|
||||||
timeout: 60
|
timeout: 60
|
||||||
|
|
Loading…
Reference in a new issue