cloud: ovirt: Add support to list nested entities parameters (#19300)

This commit is contained in:
Ondra Machacek 2016-12-14 17:15:50 +01:00 committed by Ryan Brown
commit fa96438f4c
15 changed files with 102 additions and 17 deletions

View file

@ -89,7 +89,12 @@ def main():
changed=False,
ansible_facts=dict(
ovirt_clusters=[
get_dict_of_struct(c) for c in clusters
get_dict_of_struct(
struct=c,
connection=connection,
fetch_nested=module.params.get('fetch_nested'),
attributes=module.params.get('nested_attributes'),
) for c in clusters
],
),
)