summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/handlers/test_skip_flush.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/handlers/test_skip_flush.yml')
-rw-r--r--test/integration/targets/handlers/test_skip_flush.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/integration/targets/handlers/test_skip_flush.yml b/test/integration/targets/handlers/test_skip_flush.yml
new file mode 100644
index 0000000..5c1e82b
--- /dev/null
+++ b/test/integration/targets/handlers/test_skip_flush.yml
@@ -0,0 +1,13 @@
+- hosts: A
+ gather_facts: false
+ tasks:
+ - command: echo
+ notify:
+ - handler
+ - meta: flush_handlers
+ when: false
+ - fail:
+ handlers:
+ - name: handler
+ debug:
+ msg: handler ran