mirror of https://github.com/ansible/ansible.git
Allow a collection role to call a standalone role by default (#69102)
* Allow a collection role to call a standalone role by default. Fixes #69101 * tweaked changelog text * Guard against NoneType Co-authored-by: Matt Davis <nitzmahone@users.noreply.github.com>pull/69115/head
parent
977b58740b
commit
da98fc267a
@ -0,0 +1,5 @@
|
|||||||
|
bugfixes:
|
||||||
|
- Collections - Allow a collection role to call a stand alone role, without
|
||||||
|
needing to explicitly add ``ansible.legacy`` to the collection search
|
||||||
|
order within the collection role.
|
||||||
|
(https://github.com/ansible/ansible/issues/69101)
|
@ -0,0 +1,6 @@
|
|||||||
|
- include_role:
|
||||||
|
name: standalone
|
||||||
|
|
||||||
|
- assert:
|
||||||
|
that:
|
||||||
|
- standalone_role_var is defined
|
@ -0,0 +1,2 @@
|
|||||||
|
- set_fact:
|
||||||
|
standalone_role_var: True
|
Loading…
Reference in New Issue