diff options
author | Fabio Alessandro Locati <me@fale.io> | 2016-11-13 09:13:08 +0000 |
---|---|---|
committer | John R Barker <john@johnrbarker.com> | 2016-11-13 09:13:08 +0000 |
commit | 63dd0a023084ce16959b3f5d851f8f66dfae23ae (patch) | |
tree | 26859c28cf46fef51adb06cc8ef801868460d537 /cloud/amazon | |
parent | 81009c5f6f603b984461a14c724ed9cccf2de68a (diff) | |
download | ansible-modules-extras-63dd0a023084ce16959b3f5d851f8f66dfae23ae.tar.gz |
Use native YAML (#3435)
Diffstat (limited to 'cloud/amazon')
-rw-r--r-- | cloud/amazon/route53_zone.py | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/cloud/amazon/route53_zone.py b/cloud/amazon/route53_zone.py index d08ed88a..2fc53295 100644 --- a/cloud/amazon/route53_zone.py +++ b/cloud/amazon/route53_zone.py @@ -54,25 +54,34 @@ author: "Christopher Troup (@minichate)" EXAMPLES = ''' # create a public zone -- route53_zone: zone=example.com state=present comment="this is an example" +- route53_zone: + zone: example.com + state: present + comment: this is an example # delete a public zone -- route53_zone: zone=example.com state=absent +- route53_zone: + zone: example.com + state: absent - name: private zone for devel - route53_zone: zone=devel.example.com state=present vpc_id={{myvpc_id}} comment='developer domain' + route53_zone: + 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 }}" + vpc_id: '{{ vpc.vpc_id }}' + vpc_region: '{{ ec2_region }}' + zone: '{{ vpc_dns_zone }}' state: present register: zone_out -- debug: var=zone_out - +- debug: + var: zone_out ''' RETURN=''' |