Ansible


Ansible end_play vs end_host

If your Ansible playbook needs to be stopped for a single node (host) of your inventory, be sure you do use “meta: end_host” and not “meta: end_play”. The later stops the whole script, and can potentially creates a hard-to-debug situation, depending on your parallelism and the order on which nodes are checked during the playbook […]