[ovirt-users] Re: List VMS with ansible version 2.9 ovirt_vms_info module

2019-12-19 Thread Martin Perina
On Thu, 19 Dec 2019, 09:37 , wrote: > Hi Martin > > thanks for your information. > > but when i try on one of my testlab RHV 4.3 farm, ansible 2.9 complain > that ovirt_vm_facts not found, detail refer to below command output > > based on RHV 4.3 ansible version as below: > > # ansible --versio

[ovirt-users] Re: List VMS with ansible version 2.9 ovirt_vms_info module

2019-12-19 Thread csyeow
Hi Jan Zmeskal thanks for assist. i manage to list guest vm name and snapshot name after renaming "ovirt_vms_facts" to "ovirt_vm_facts" the test results as below: TASK [Print vms] **

[ovirt-users] Re: List VMS with ansible version 2.9 ovirt_vms_info module

2019-12-19 Thread Jan Zmeskal
Hello, I think it's just a typo. Try renaming "ovirt_vms_facts" to "ovirt_vm_facts". This worked for me: - hosts: localhost gather_facts: no tasks: - name: Login to oVirt ovirt_auth: url: https:///ovirt-engine/api username: admin@internal password: i

[ovirt-users] Re: List VMS with ansible version 2.9 ovirt_vms_info module

2019-12-19 Thread csyeow
Hi Martin thanks for your information. but when i try on one of my testlab RHV 4.3 farm, ansible 2.9 complain that ovirt_vm_facts not found, detail refer to below command output based on RHV 4.3 ansible version as below: # ansible --version ansible 2.9.0 config file = /etc/ansible/ansible

[ovirt-users] Re: List VMS with ansible version 2.9 ovirt_vms_info module

2019-12-18 Thread Martin Perina
On Thu, Dec 19, 2019 at 7:22 AM wrote: > Hi All > > is someone use ansible to list guest vm and ovirt node on ansible 2.9 with > ovirt_vms_info ? > i read this https://lists.ovirt.org/pipermail/users/2017-May/081956.html > but this is for ansible 2.8 and below with ovirt_vms_facts module. > ov