Hi all I'm trying to dump out a list of all tags and the VMs attached. I need to do this as I wrote an Ansible task to attach some VMs to some tags and ended up removing other VMs from these tags which caused some issues.
I think I've fixed my problem but I want to take a backup of the tags and attached VMs but using ovirt.ovirt.ovirt_tag_info I can't see how to list all tags with the attached VMs. I've tried various incantations like: - ovirt.ovirt.ovirt_tag_info: auth: "{{ ovirt_auth}}" name: 'veeam-tier*' fetch_nested: true nested_attributes: - vm register: result but all I get is: ok: [localhost] => { "result": { "changed": false, "deprecations": [ { "msg": "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", "version": "3.0.0" } ], "failed": false, "ovirt_tags": [ { "description": "", "href": "/ovirt-engine/api/tags/4ebb9243-b133-40c9-b22e-03b3798415bf", "id": "4ebb9243-b133-40c9-b22e-03b3798415bf", "name": "veeam-tier3", "parent": { "href": "/ovirt-engine/api/tags/00000000-0000-0000-0000-000000000000", "id": "00000000-0000-0000-0000-000000000000" } }, { "description": "", "href": "/ovirt-engine/api/tags/0fd7a16a-82ca-4d13-a9ab-9646a41c58e6", "id": "0fd7a16a-82ca-4d13-a9ab-9646a41c58e6", "name": "veeam-tier1", "parent": { "href": "/ovirt-engine/api/tags/00000000-0000-0000-0000-000000000000", "id": "00000000-0000-0000-0000-000000000000" } }, { "description": "", "href": "/ovirt-engine/api/tags/4155338b-43f4-413c-bf41-4e46ee9472fa", "id": "4155338b-43f4-413c-bf41-4e46ee9472fa", "name": "veeam-tier2", "parent": { "href": "/ovirt-engine/api/tags/00000000-0000-0000-0000-000000000000", "id": "00000000-0000-0000-0000-000000000000" } } ] } } I'm using fetch_nested and nested_attributes as I couldn't get 'follow' to work. Any ideas? Thanks
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/G4LEU5DKANGWNSHPJVTY4EANSKOHQ2HV/