Re: [ansible-project] Help with parsing "vmware_vm_info" output

2023-05-03 Thread Ravi yadav
I have just tested as suggested by Todd, it is working fine for me. below is the yml github link for the same. https://github.com/area51coder/ansible_group_issues Regards Ravi Y yoursmartbook.blogspot.com [root ~]# cat /etc/ansible/reports/virtual_machine_names.txt Virtual Machine Names - windo

Re: [ansible-project] Help with parsing "vmware_vm_info" output

2023-05-02 Thread Todd Lewis
The debug module prints to the job log. It's a common mistake to try to use the job log as formatted output for other purposes, like reports. Instead you could use the ansible.builtin.template module to output the desired data in some other file. Or you can take the often-warned-against shortcu

[ansible-project] Help with parsing "vmware_vm_info" output

2023-05-02 Thread Alex Wanderley
Hello, I need to collect some info from VMs in our VMware cluster and am having trouble figuring out how to print only the information I need. When running the code below: - name: collect VMs in specific folder community.vmware.vmware_vm_info: validate_certs: False