mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Make v2 playbook class attributes inheritable
Also fixing some other become-related things
This commit is contained in:
parent
8d8c4c0615
commit
393246fdd3
14 changed files with 152 additions and 51 deletions
|
@ -37,6 +37,7 @@ def load_list_of_blocks(ds, parent_block=None, role=None, task_include=None, use
|
|||
assert type(ds) in (list, NoneType)
|
||||
|
||||
block_list = []
|
||||
print("in load list of blocks, ds is: %s" % ds)
|
||||
if ds:
|
||||
for block in ds:
|
||||
b = Block.load(
|
||||
|
@ -50,6 +51,7 @@ def load_list_of_blocks(ds, parent_block=None, role=None, task_include=None, use
|
|||
)
|
||||
block_list.append(b)
|
||||
|
||||
print("-> returning block list: %s" % block_list)
|
||||
return block_list
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue