2015-04-04 20:37:14 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: test force handlers (default)
|
|
|
|
tags: normal
|
|
|
|
hosts: testgroup
|
|
|
|
gather_facts: False
|
|
|
|
connection: local
|
|
|
|
roles:
|
|
|
|
- { role: test_force_handlers }
|
2015-07-10 05:53:59 +00:00
|
|
|
tasks:
|
|
|
|
- debug: msg="you should see this with --tags=normal"
|
2015-04-04 20:37:14 +00:00
|
|
|
|
|
|
|
- name: test force handlers (set to true)
|
|
|
|
tags: force_true_in_play
|
|
|
|
hosts: testgroup
|
|
|
|
gather_facts: False
|
|
|
|
connection: local
|
|
|
|
force_handlers: True
|
|
|
|
roles:
|
2015-07-10 05:53:59 +00:00
|
|
|
- { role: test_force_handlers, tags: force_true_in_play }
|
2015-04-04 20:37:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
- name: test force handlers (set to false)
|
|
|
|
tags: force_false_in_play
|
|
|
|
hosts: testgroup
|
|
|
|
gather_facts: False
|
|
|
|
connection: local
|
|
|
|
force_handlers: False
|
|
|
|
roles:
|
2015-07-10 05:53:59 +00:00
|
|
|
- { role: test_force_handlers, tags: force_false_in_play }
|