mirror of https://github.com/ansible/ansible.git
Fixes #83019
(cherry picked from commit 775bc1110e
)
pull/83720/head
parent
1f9dead60f
commit
d33bb8ebfd
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "linear strategy: fix handlers included via ``include_tasks`` handler to be executed in lockstep (https://github.com/ansible/ansible/issues/83019)"
|
@ -0,0 +1,3 @@
|
||||
- name: handler1
|
||||
debug:
|
||||
msg: handler1
|
@ -0,0 +1,6 @@
|
||||
- include_tasks: handlers_lockstep_83019-include-nested.yml
|
||||
when: inventory_hostname == "A"
|
||||
|
||||
- name: handler2
|
||||
debug:
|
||||
msg: handler2
|
@ -0,0 +1,8 @@
|
||||
- hosts: A,B
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- command: echo
|
||||
notify: handler
|
||||
handlers:
|
||||
- name: handler
|
||||
include_tasks: handlers_lockstep_83019-include.yml
|
Loading…
Reference in New Issue