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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.