mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
436 B
YAML
19 lines
436 B
YAML
6 years ago
|
- 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
|