mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
added AAAA example
This commit is contained in:
parent
e9de70668b
commit
cf3f9380d0
1 changed files with 19 additions and 9 deletions
|
@ -16,11 +16,11 @@
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: route53
|
module: rds
|
||||||
version_added: "1.4"
|
version_added: "1.4"
|
||||||
short_description: add or delete entries in Amazon's Route53 DNS service
|
short_description: add or delete entries in Amazons Route53 DNS service
|
||||||
description:
|
description:
|
||||||
- Creates and deletes DNS records in Amazon's Route53 service
|
- Creates and deletes DNS records in Amazons Route53 service
|
||||||
options:
|
options:
|
||||||
command:
|
command:
|
||||||
description:
|
description:
|
||||||
|
@ -77,7 +77,7 @@ author: Bruce Pennypacker
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Add new.foo.com as an A record with 3 IP's
|
# Add new.foo.com as an A record with 3 IPs
|
||||||
- route53: >
|
- route53: >
|
||||||
command=create
|
command=create
|
||||||
zone=foo.com
|
zone=foo.com
|
||||||
|
@ -94,14 +94,24 @@ EXAMPLES = '''
|
||||||
type=A
|
type=A
|
||||||
register: rec
|
register: rec
|
||||||
|
|
||||||
# Delete new.foo.com's A record using the results from the 'get'
|
# Delete new.foo.com A record using the results from the get command
|
||||||
- route53: >
|
- route53: >
|
||||||
command=delete
|
command=delete
|
||||||
zone=foo.com
|
zone=foo.com
|
||||||
record={{ rec.set.record }}
|
record={{ r.set.record }}
|
||||||
type={{ rec.set.type }}
|
type={{ r.set.type }}
|
||||||
value={{ rec.set.value }}
|
value={{ r.set.value }}
|
||||||
.''
|
|
||||||
|
# Add an AAAA record. Note that because there are colons in the value
|
||||||
|
# that the entire parameter list must be quoted:
|
||||||
|
- route53: >
|
||||||
|
"command=create
|
||||||
|
zone=foo.com
|
||||||
|
record=localhost.foo.com
|
||||||
|
type=AAAA
|
||||||
|
ttl=7200
|
||||||
|
value=::1"
|
||||||
|
'''
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue