community.general.gcdns_zone – Creates or removes zones in Google Cloud DNS¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.gcdns_zone
.
DEPRECATED¶
- Removed in
version 2.0.0
- Why
Updated modules released with increased functionality
- Alternative
Use google.cloud.gcp_dns_managed_zone instead.
Requirements¶
The below requirements are needed on the host that executes this module.
apache-libcloud >= 0.19.0
Parameters¶
Notes¶
Note
See also community.general.gcdns_record.
Zones that are newly created must still be set up with a domain registrar before they can be used.
Examples¶
# Basic zone creation example.
- name: Create a basic zone with the minimum number of parameters.
community.general.gcdns_zone: zone=example.com
# Zone removal example.
- name: Remove a zone.
community.general.gcdns_zone: zone=example.com state=absent
# Zone creation with description
- name: Creating a zone with a description
community.general.gcdns_zone: zone=example.com description="This is an awesome zone"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
This module will be removed in version 2.0.0. [deprecated]
For more information see DEPRECATED.
Authors¶
William Albert (@walbert947)