From d20ab9eaf30b4ad07352e2c21c6b5b901aecf4cf Mon Sep 17 00:00:00 2001 From: Bruce Pennypacker Date: Thu, 18 Jul 2013 17:12:14 -0400 Subject: [PATCH] added AAAA example --- cloud/route53 | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/cloud/route53 b/cloud/route53 index cc0aa031de7..fef1c877bff 100644 --- a/cloud/route53 +++ b/cloud/route53 @@ -16,11 +16,11 @@ DOCUMENTATION = ''' --- -module: route53 +module: rds 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: - - Creates and deletes DNS records in Amazon's Route53 service + - Creates and deletes DNS records in Amazons Route53 service options: command: description: @@ -77,7 +77,7 @@ author: Bruce Pennypacker ''' 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: > command=create zone=foo.com @@ -94,14 +94,24 @@ EXAMPLES = ''' type=A 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: > command=delete zone=foo.com - record={{ rec.set.record }} - type={{ rec.set.type }} - value={{ rec.set.value }} -.'' + record={{ r.set.record }} + type={{ r.set.type }} + 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