goldyfruit / goldyfruit.ibmcloud_automation / 1.0.4 / module / ic_dns_private_zone Create or delete private DNS instance. | "added in version" 2.9 of goldyfruit.ibmcloud_automation" Authors: James Regis (@jregis) preview | supported by communitygoldyfruit.ibmcloud_automation.ic_dns_private_zone (1.0.4) — module
Install with ansible-galaxy collection install goldyfruit.ibmcloud_automation:==1.0.4
collections: - name: goldyfruit.ibmcloud_automation version: 1.0.4
Create or delete private DNS instamce on IBM Cloud.
# Create private VPC with resource group, description and label - ic_dns_private_zone: dns_zone: ibmcloud-dns-baby resource_instance: ibmcloud-rg-baby description: Hail to the king baby label: dev
# Create a private DNS - ic_dns_private_zone: dns_zone: ibmcloud-dns-baby resource_instance: ibmcloud-rg-baby
# Delete a private DNS - ic_dns_private_zone: dns_zone: ibmcloud-dns-baby resource_instance: ibmcloud-rg-baby state: absent
label: description: - A label for the DNS. required: false state: choices: - present - absent default: present description: - Should the resource be present or absent. required: false dns_zone: description: - Name that has to be given to the DNS to create or delete. During the removal an UUID could be used. required: true description: description: - A short description of the DNS. required: false resource_instance: description: - Name or UUID of the resource group where the VPC has to be created. required: false