mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Several fixes for includes
* when including statically, make sure that all parents were also included statically (issue #16990) * properly resolve nested static include paths * print a message when a file is statically included Fixes #16990
This commit is contained in:
parent
854d47826c
commit
1c7e0c73c9
5 changed files with 69 additions and 31 deletions
|
@ -463,3 +463,8 @@ class Task(Base, Conditional, Taggable, Become):
|
|||
|
||||
return path_stack
|
||||
|
||||
def all_parents_static(self):
|
||||
if self._parent:
|
||||
return self._parent.all_parents_static()
|
||||
return True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue