mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
6f782c342f
commit
e60d7cc840
1 changed files with 23 additions and 0 deletions
|
@ -50,6 +50,29 @@ extends_documentation_fragment: aws
|
|||
author: "Christopher Troup (@minichate)"
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# create a public zone
|
||||
- route53_zone: zone=example.com state=present comment="this is an example"
|
||||
|
||||
# delete a public zone
|
||||
- route53_zone: zone=example.com state=absent
|
||||
|
||||
- name: private zone for devel
|
||||
route53_zome: zone=devel.example.com state=present vpc_id={{myvpc_id}} comment='developer domain'
|
||||
|
||||
# more complex example
|
||||
- name: register output after creating zone in parameterized region
|
||||
route53_zone:
|
||||
vpc_id: "{{ vpc.vpc_id }}"
|
||||
vpc_region: "{{ ec2_region }}"
|
||||
zone: "{{ vpc_dns_zone }}"
|
||||
state: present
|
||||
register: zone_out
|
||||
|
||||
- debug: var=zone_out
|
||||
|
||||
'''
|
||||
|
||||
import time
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue