summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/roles/allowed_dupes.yml
blob: 998950b31421d703c712bc9e1d4a3a80d542d8a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- name: test that import_role adds one (just one) execution of the role
  hosts: localhost
  gather_facts: false
  tags: ['importrole']
  roles:
     - name: a
  tasks:
    - name: import role ignores dupe rule
      import_role: name=a

- name: test that include_role adds one (just one) execution of the role
  hosts: localhost
  gather_facts: false
  tags: ['includerole']
  roles:
     - name: a
  tasks:
    - include_role: name=a