blob: 6edc32e235c84b023919a2617337bf87f77a7d9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
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) }}"
|