Debian Codegraph @

test/integration/targets/handlers/46447.yml

raw
1 - hosts: A,B
2 gather_facts: no
3 any_errors_fatal: True
4 tasks:
5 - command: /bin/true
6 notify: test_handler
7
8 - meta: flush_handlers
9
10 - name: Should not get here
11 debug:
12 msg: "SHOULD NOT GET HERE"
13
14 handlers:
15 - name: test_handler
16 command: /usr/bin/{{ (inventory_hostname == 'A') | ternary('true', 'false') }}