Auto loading ansible playbook on firstboot

So I have a master ansible server which will loads different types of servers- typical dbserver, webserver etc. Let’s say (via golden img) I am provisioning new client machines/VMs, could be via cobbler, aws, etc…

How can I automatically run the ansible config initiated by the client (like firstboot) so it is completely hands off unattended install/setup? FYI my golden img contains the master ssh key so that’s already setup by default.

-John

several ways:

- get tower and have the machine do a web callback on boot

- setup a git repo and have the machines use ansible-pull

there are many other ways but all involve in a general fashion that
you setup a trigger based executor for ansible-playbook and find a way
to get the machine to hit that trigger on boot.

Got it thx!

Good article here: http://www.ansible.com/blog/autoscaling-infrastructures

-John