ANSIBLE.ROUTE53(3)              ANSIBLE MODULES             ANSIBLE.ROUTE53(3)



NAME
       route53 - add or delete entries in Amazons Route53 DNS service

DESCRIPTION
       Creates and deletes DNS records in Amazons Route53 service

OPTIONS
       aws_access_key
              AWS access key.

       aws_secret_key
              AWS secret key.

       command
              Specifies the action to take.  Choices:
              get,create,delete.(required)

       overwrite
              Whether an existing record should be overwritten on create if
              values do not match

       record The full DNS record to create or delete(required)

       ttl    The TTL to give the new record (default: 3600 (one hour))

       type   The type of DNS record to create Choices:
              A,CNAME,MX,AAAA,TXT,PTR,SRV,SPF,NS.(required)

       value  The new value when creating a DNS record.  Multiple comma-spaced
              values are allowed.  When deleting a record all values for the
              record must be specified or Route53 will not delete it.

       zone   The DNS zone to modify(required).

EXAMPLES
       # Add new.foo.com as an A record with 3 IPs
       - route53: >
             command=create
             zone=foo.com
             record=new.foo.com
             type=A
             ttl=7200
             value=1.1.1.1,2.2.2.2,3.3.3.3

       # Retrieve the details for new.foo.com
       - route53: >
             command=get
             zone=foo.com
             record=new.foo.com
             type=A
         register: rec

       # 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 }}

       # 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"



AUTHOR
       Bruce Pennypacker

SEE ALSO
       ansible(1), http://ansible.github.com/modules.html#route53



1.4.5                             2014-02-12                ANSIBLE.ROUTE53(3)
