community / community.general / 2.5.9 / module / xenserver_facts get facts reported on xenserver Authors: Andy Hill (@andyhky), Tim Rupp (@caphrim007), Robin Lee (@cheese)community.general.xenserver_facts (2.5.9) — module
Install with ansible-galaxy collection install community.general:==2.5.9
collections: - name: community.general version: 2.5.9
Reads data out of XenAPI, can be used instead of multiple xe commands.
- name: Gather facts from xenserver community.general.xenserver_facts:
- name: Print running VMs ansible.builtin.debug: msg: "{{ item }}" with_items: "{{ xs_vms.keys() }}" when: xs_vms[item]['power_state'] == "Running"