Comment

Comment by dfinninger

The easy default here would be to have a runbook that executed on a particular inventory group.

The “linear” execution strategy is the default (which you linked to). By default, if there is an error on one host it will continue executing on all other hosts. You need to set a flag to stop executing on all hosts[1].

The parent process would not be notified of any failures until the end of the run, unless you supplied a custom callback plugin[2].

[1] https://docs.ansible.com/ansible/2.8/user_guide/playbooks_er...

[2] https://docs.ansible.com/ansible/latest/plugins/callback.htm...

parent dfinninger 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton