Skip to content

Instantly share code, notes, and snippets.

@extraordinaire
extraordinaire / 0-README.md
Last active August 29, 2015 14:04
Ansible play that creates Route53 records based on AutoScaling groups

ASG Route53 Updater

At TVbeat we run this on a cron within each of our cloudformation stacks.

R53 records look like zookeeper-staging.example.com

Requirements

ansible :) & awscli: sudo pip install awscli

EC2 IAM policy:

curl -L http://pkgs.repoforge.org/htop/htop-1.0.2-1.el6.rf.x86_64.rpm -o /tmp/test.rpm && sudo rpm -i /tmp/test.rpm && htop