blob: cf418f9df3dfd6c4a720a20cb5cd8dbc64c39ce4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- hosts: localhost
gather_facts: false
pre_tasks:
- import_tasks: tasks/trigger_change.yml
notify: hello
handlers:
- name: hello
set_fact: hello=world
tasks:
- name: ensure handler ran
assert:
that:
- "hello is defined and hello == 'world'"
|