mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Ensure we don't overwrite roles from include/import_role when loading the play (#47512)
* Ensure we don't overwrite roles from include/import_role when loading the play. Fixes #47454 * Add changelog fragment
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
- hosts: localhost
|
||||
gather_facts: false
|
||||
roles:
|
||||
- call_import
|
||||
@@ -0,0 +1,6 @@
|
||||
- import_role:
|
||||
name: regular
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- regular_defaults_var is defined
|
||||
@@ -82,3 +82,4 @@ test "$(grep -c '"item=foo"' test_include_dupe_loop.out)" = 3
|
||||
|
||||
ansible-playbook public_exposure/playbook.yml -i ../../inventory "$@"
|
||||
ansible-playbook public_exposure/no_bleeding.yml -i ../../inventory "$@"
|
||||
ansible-playbook public_exposure/no_overwrite_roles.yml -i ../../inventory "$@"
|
||||
|
||||
Reference in New Issue
Block a user