mirror of https://github.com/ansible/ansible.git
parent
2bb09bfd12
commit
29cf8b599e
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- any_errors_fatal - fix an issue where errors caused by hosts being unreachable did not always result in a fatal error (https://github.com/ansible/ansible/issues/82834)
|
@ -0,0 +1,13 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- add_host:
|
||||||
|
hostname: unreachable_host
|
||||||
|
|
||||||
|
- hosts: unreachable_host, localhost
|
||||||
|
gather_facts: false
|
||||||
|
any_errors_fatal: true
|
||||||
|
serial:
|
||||||
|
- 1
|
||||||
|
tasks:
|
||||||
|
- command: echo "SHOULD NOT HAPPEN"
|
Loading…
Reference in New Issue