mirror of https://github.com/ansible/ansible.git
Merge branch 'ansible:devel' into deprecate-is-module
commit
b52b1d4d14
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- flush_handlers - properly handle a handler failure in a nested block when ``force_handlers`` is set (http://github.com/ansible/ansible/issues/81532)
|
@ -0,0 +1,2 @@
|
|||||||
|
minor_changes:
|
||||||
|
- ansible-test - Add support for RHEL 9.3 remotes.
|
@ -0,0 +1,4 @@
|
|||||||
|
bugfixes:
|
||||||
|
- copy action now ensures that tempfiles use the same suffix as destination, to allow for ``validate`` to work with utilities that check extensions.
|
||||||
|
- copy action now also generates temprary files as hidden ('.' prefixed) to avoid accidental pickup by running services that glob by extension.
|
||||||
|
- template action will also inherit the behavior from copy (as it uses it internally).
|
@ -0,0 +1,19 @@
|
|||||||
|
- hosts: A,B
|
||||||
|
gather_facts: false
|
||||||
|
force_handlers: true
|
||||||
|
tasks:
|
||||||
|
- block:
|
||||||
|
- command: echo
|
||||||
|
notify: h
|
||||||
|
|
||||||
|
- meta: flush_handlers
|
||||||
|
rescue:
|
||||||
|
- debug:
|
||||||
|
msg: flush_handlers_rescued
|
||||||
|
always:
|
||||||
|
- debug:
|
||||||
|
msg: flush_handlers_always
|
||||||
|
handlers:
|
||||||
|
- name: h
|
||||||
|
fail:
|
||||||
|
when: inventory_hostname == "A"
|
Loading…
Reference in New Issue