From e26d758d6fe960b7728895f754935c0b47a720f0 Mon Sep 17 00:00:00 2001 From: Vibhav Sinha Date: Fri, 14 Sep 2018 00:17:43 +0530 Subject: [PATCH] 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. --- lib/ansible/modules/cloud/google/gcp_backend_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/google/gcp_backend_service.py b/lib/ansible/modules/cloud/google/gcp_backend_service.py index eede3793ee..3c681514f6 100644 --- a/lib/ansible/modules/cloud/google/gcp_backend_service.py +++ b/lib/ansible/modules/cloud/google/gcp_backend_service.py @@ -86,7 +86,7 @@ EXAMPLES = ''' backends: - instance_group: managed_instance_group_1 healthchecks: - - name: healthcheck_name_for_backend_service + - healthcheck_name_for_backend_service port_name: myhttpport state: present @@ -104,7 +104,7 @@ EXAMPLES = ''' max_utilization: 0.5 max_rate: 4 healthchecks: - - name: healthcheck_name_for_backend_service + - healthcheck_name_for_backend_service port_name: myhttpport state: present timeout: 60