March 2019
Intermediate to advanced
412 pages
9h 49m
English
So far in this chapter, we have focused on gracefully handling errors, and changing the default behavior of Ansible with respect to changes and failures. This is all well and good for tasks, but what about if you are running Ansible in an unreliable environment? For example, poor or transient connectivity might used to reach the managed hosts, or hosts might be down on a regular basis for some reason. The latter example might be a dynamically scaled environment that could be scaled up in times of high load and scaled back when demand is low to save on resources.
Luckily, a new playbook keyword, ignore_unreachable, was introduced that handles exactly these cases, and ensures that all tasks are attempted on ...
Read now
Unlock full access