Ansible-Tower best practice for provisioning AS ec2 instances
I've been provisioning ASG instances in AWS with ansible-tower and it is doing great job, but i feel like there is better way to do it then what i have setup. I currently create inventory group in ansible-tower for every ASG and have that inventory on schedule every minute. When ASG triggers new instances i use User Data code to call the tower to kick off provisioning job for that inventory (based on tag). Since tower updates that inventory every minute , all works just fine. Now i am up to 5 ASG using ansible tower and they all have their own configs. Like i said it works , but when i go to job log (in tower) all i see is five inventory jobs every minute.... Its annoying . I am pretty sure there's got to be a better way for tower to find out about these instances ? Any help would be appreciated.
|