ovirt.ovirt.get_network_xml_to_dict filter – Get network bridge and uuid to dict
Note
This filter plugin is part of the ovirt.ovirt collection (version 3.2.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install ovirt.ovirt
.
To use it in a playbook, specify: ovirt.ovirt.get_network_xml_to_dict
.
Synopsis
Get network bridge and uuid to dict
Input
This describes the input of the filter, the value before | ovirt.ovirt.get_network_xml_to_dict
.
Parameter |
Comments |
---|---|
xml |
Examples
- name: Set network_dict from default_net_xml
ansible.builtin.set_fact:
network_dict: "{{ default_net_xml['stdout'] | ovirt.ovirt.get_network_xml_to_dict }}"
Return Value
Key |
Description |
---|---|
Dict of network Returned: success |