June 2018
Beginner
578 pages
13h 39m
English
Now that we have launched the cluster, we can run the second playbook, which removes it. To do this, click on TEMPLATES in the top menu and then click on the run icon, the rocket one, next to AWS -Remove. This will launch the playbook, which removes everything we just launched. Again, it will take a little while to run through all of the tasks.
It is important to point out that in order for the remove.yml playbook to successfully execute through Ansible Tower, you have to update one of the tasks in roles/remove/tasks/main.yml. If you recall, we had the following lines in there:
- name: prompt pause: prompt: "Make sure the elastic load balancer has been terminated before proceeding"
If this task was present, then our playbook ...
Read now
Unlock full access