mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
Handle empty role definitions in YAML (v2)
This commit is contained in:
parent
f5471186f9
commit
fba5588028
2 changed files with 6 additions and 0 deletions
|
@ -65,6 +65,9 @@ class RoleMetadata(Base):
|
|||
which returns a list of RoleInclude objects
|
||||
'''
|
||||
|
||||
if ds is None:
|
||||
ds = []
|
||||
|
||||
current_role_path = None
|
||||
if self._owner:
|
||||
current_role_path = os.path.dirname(self._owner._role_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue