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