From 37a086500825180e8d4b6a43484026e933b6b6d1 Mon Sep 17 00:00:00 2001 From: The Magician Date: Thu, 14 Mar 2019 11:26:31 -0700 Subject: [PATCH] Error in managed zone api (#213) /cc @rambleraptor --- lib/ansible/modules/cloud/google/gcp_dns_managed_zone.py | 4 ++-- .../modules/cloud/google/gcp_dns_managed_zone_facts.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/cloud/google/gcp_dns_managed_zone.py b/lib/ansible/modules/cloud/google/gcp_dns_managed_zone.py index 4e0c58117ea430..07f4309702fae7 100644 --- a/lib/ansible/modules/cloud/google/gcp_dns_managed_zone.py +++ b/lib/ansible/modules/cloud/google/gcp_dns_managed_zone.py @@ -126,7 +126,7 @@ a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset. returned: success - type: list + type: str creationTime: description: - The time that this resource was created on the server. @@ -161,7 +161,7 @@ def main(): description=dict(required=True, type='str'), dns_name=dict(required=True, type='str'), name=dict(required=True, type='str'), - name_server_set=dict(type='list', elements='str'), + name_server_set=dict(type='str'), labels=dict(type='dict'), ) ) diff --git a/lib/ansible/modules/cloud/google/gcp_dns_managed_zone_facts.py b/lib/ansible/modules/cloud/google/gcp_dns_managed_zone_facts.py index 9a5f73a4b4d446..e5a8152f57ac2e 100644 --- a/lib/ansible/modules/cloud/google/gcp_dns_managed_zone_facts.py +++ b/lib/ansible/modules/cloud/google/gcp_dns_managed_zone_facts.py @@ -96,7 +96,7 @@ is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset. returned: success - type: list + type: str creationTime: description: - The time that this resource was created on the server.