mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
cloud: ovirt: Add support to list nested entities parameters (#19300)
This commit is contained in:
parent
59227d8c31
commit
fa96438f4c
15 changed files with 102 additions and 17 deletions
|
@ -88,7 +88,12 @@ def main():
|
|||
changed=False,
|
||||
ansible_facts=dict(
|
||||
ovirt_datacenters=[
|
||||
get_dict_of_struct(c) for c in datacenters
|
||||
get_dict_of_struct(
|
||||
struct=d,
|
||||
connection=connection,
|
||||
fetch_nested=module.params.get('fetch_nested'),
|
||||
attributes=module.params.get('nested_attributes'),
|
||||
) for d in datacenters
|
||||
],
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue