added AAAA example

reviewable/pr18780/r1
Bruce Pennypacker 12 years ago
parent ad64b8416e
commit d20ab9eaf3

@ -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…
Cancel
Save