summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/handlers/test_force_handlers.yml
blob: 9cff772929b56f94e6f0c351998e38f71a639154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---

- name: test force handlers (default)
  tags: normal
  hosts: testgroup
  gather_facts: False
  roles:
  - { role: test_force_handlers }
  tasks:
  - debug: msg="you should see this with --tags=normal"

- name: test force handlers (set to true)
  tags: force_true_in_play
  hosts: testgroup
  gather_facts: False
  force_handlers: True
  roles:
  - { role: test_force_handlers, tags: force_true_in_play }


- name: test force handlers (set to false)
  tags: force_false_in_play
  hosts: testgroup
  gather_facts: False
  force_handlers: False
  roles:
  - { role: test_force_handlers, tags: force_false_in_play }