mirror of https://github.com/ansible/ansible.git
parent
d1a688b1d7
commit
0e28ab4528
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Fix handlers to allow for templated values in run_once (https://github.com/ansible/ansible/issues/27237)
|
@ -0,0 +1,12 @@
|
||||
- hosts: A,B
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- debug:
|
||||
changed_when: true
|
||||
notify:
|
||||
- handler
|
||||
handlers:
|
||||
- name: handler
|
||||
debug:
|
||||
msg: "handler {{ inventory_hostname }}"
|
||||
run_once: "{{ testvar | default(False) }}"
|
Loading…
Reference in New Issue