mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
19 lines
436 B
YAML
19 lines
436 B
YAML
|
- 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
|