mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Fix --force-handlers, and allow it in plays and ansible.cfg
The --force-handlers command line argument was not correctly running handlers on hosts which had tasks that later failed. This corrects that, and also allows you to specify force_handlers in ansible.cfg or in a play.
This commit is contained in:
parent
e6fa169a05
commit
652cd6cd5e
11 changed files with 123 additions and 12 deletions
|
@ -252,6 +252,20 @@ This options forces color mode even when running without a TTY::
|
|||
|
||||
force_color = 1
|
||||
|
||||
.. _force_handlers:
|
||||
|
||||
force_handlers
|
||||
==============
|
||||
|
||||
.. versionadded:: 1.9.1
|
||||
|
||||
This option causes notified handlers to run on a host even if a failure occurs on that host::
|
||||
|
||||
force_handlers = True
|
||||
|
||||
The default is False, meaning that handlers will not run if a failure has occurred on a host.
|
||||
This can also be set per play or on the command line. See :doc:`_handlers_and_failure` for more details.
|
||||
|
||||
.. _forks:
|
||||
|
||||
forks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue