On 1/15/21 2:40 PM, [email protected] wrote:
> 
> Hi Team,
> 
> I am trying to gather the entire configuration details of the virtual machine 
> from KVM hypervisor and created a playbook
> as mentioned. Play book execution ends up with below mentioned error. I would 
> highly appreciate if someone can guide me
> in this.
> 
> ---
> - hosts: all
>   name:
>   become: yes
>   tasks:
>   - name: Gathering Facts
>     ovirt.ovirt.ovirt_vm_info:
>     register: result
>     debug:
>       msg: "{{ result.ovirt_vms }}"
> 

You are mixing two tasks, debug needs to be an extra task.

Regards
        Racke

> ERROR! conflicting action statements: debug, ovirt.ovirt.ovirt_vm_info
> 
> The error appears to be in '/home/testuser/ansible/test.yml': line 6, column 
> 5, but may
> be elsewhere in the file depending on the exact syntax problem.
> 
> The offending line appears to be:
> 
>   tasks:
>   - name: Gathering Facts
>     ^ here
> 
>  Regards,
> Jayan
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to
> [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/b0160345-7996-4bf1-a5a6-a9200fd1fb77n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/b0160345-7996-4bf1-a5a6-a9200fd1fb77n%40googlegroups.com?utm_medium=email&utm_source=footer>.


-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/acdd41ea-cd2e-d4f1-f5a3-9e2c6e0ae112%40linuxia.de.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to