summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/handlers/test_role_as_handler.yml
blob: ae67427408d9034b07d295570f848c76822ab0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
- name: test include_role and import_role cannot be used as handlers
  hosts: localhost
  gather_facts: false
  tasks:
    - command: "echo"
      notify:
        - role_handler
  handlers:
    - name: role_handler
      include_role:
        name: doesnotmatter_fails_at_parse_time