Created
July 30, 2013 16:27
-
-
Save ggreg/6114524 to your computer and use it in GitHub Desktop.
ec2 + route53 with ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: provision | |
local_action: ec2 key_name=greg group="{{default_security_group}}" instance_type="{{instance_type}}" image="{{image_id}}" instance_tags='{{instance_tags | to_json}}' monitoring=yes wait=yes | |
register: ec2 | |
- name: set_dns_record | |
route53: > | |
command=create | |
zone=botify.com | |
type=A | |
value={{item.public_ip}} | |
with_items: ec2.instances |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IMO