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.
20 lines
500 B
YAML
20 lines
500 B
YAML
6 years ago
|
- name: play should only show 1 invocation of a, as dependencies in this play are deduped
|
||
|
hosts: testhost
|
||
|
gather_facts: false
|
||
|
tags: [ 'inroles' ]
|
||
|
roles:
|
||
|
- role: a
|
||
|
- role: b
|
||
|
- role: c
|
||
|
|
||
|
- name: play should only show 1 invocation of a, as dependencies in this play are deduped even outside of roles
|
||
|
hosts: testhost
|
||
|
gather_facts: false
|
||
|
tags: [ 'acrossroles' ]
|
||
|
roles:
|
||
|
- role: a
|
||
|
- role: b
|
||
|
tasks:
|
||
|
- name: execute role c which depends on a
|
||
|
import_role: name=c
|