mirror of https://github.com/ansible/ansible.git
* Ensure `allow_duplicates: true` enables to run single role multiple times(#64902) * Changed return value in `_load_roles` . Fixes #64902 * Add changelog fragment * Add an integration test for the issue * Fix changelog generation error and integration test. * Fix yaml syntax error in changelog fragmentpull/65467/head
parent
4be8b2134f
commit
daecbb9bf0
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
bugfixes:
|
||||||
|
- "roles - Ensure that ``allow_duplidates: true`` enables to run single
|
||||||
|
role multiple times (https://github.com/ansible/ansible/issues/64902)"
|
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
allow_duplicates: true
|
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
- debug:
|
||||||
|
msg: "Tasks file inside role"
|
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
- name: test for allow_duplicates with single role
|
||||||
|
hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
roles:
|
||||||
|
- dup_allowed_role
|
||||||
|
- dup_allowed_role
|
||||||
|
- dup_allowed_role
|
Loading…
Reference in New Issue