Autoscaling using Callback

So far, we have looked at methods where we have invoked the templates manually. However, in a cloud infrastructure, we often scale infrastructure dynamically. As a result, executing jobs manually can be time-consuming. Ansible Tower provides us a way so that instances can call the jobs themselves without actually using the password. The concept where an instance calls up a job is called a Callback, so let's go ahead and create a Callback URL.

Get Ansible 2 Cloud Automation Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.