You can pass any script you like to cloud-init as part of user-data, and it will be executed. Just start the script with #! and it will be executed as the root user.
Here is a short screencast explaining how to do it by passing in a variable from CloudFormation: http://answersforaws.com/episodes/4-user-data-cloud-init-cloudformation/ It doesn't touch on ansible-pull, but it is trivial to do once you have the process working. -- Kind regards, Peter Sankauskas Answers for AWS <http://answersforaws.com> -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
