Hi Abhijit
Thanks for your reply. I did as per you note, How can i check the output &
also then how can i use that in action block ie shutdown action.
---
> - hosts: localhost
> gather_facts: false
> connection: local
> collections:
> - community.vmware
> - community.general
>
Hi Abhijit
Thanks for your reply, Only Specific VMs where the status is
guestToolsNotRunning
Best
Kiran
On Thursday, April 9, 2020 at 1:27:18 AM UTC-7, Abhijeet Kasurde wrote:
>
> Hi Kiran,
>
> Do you want to run this operation on specific VMs or all the VMs which are
>
Hi Kiran,
I did something like this -
---
- hosts: localhost
vars_files:
- vcenter_vars.yml
collections:
- community.vmware
- community.general
vars:
vm_list:
- debian_10_clone
- my_clone_deb_1
- test01
tasks:
- name: Get all tags
vmware_guest_info:
validate_certs: False
hostname: '{{
Hi Kiran,
Do you want to run this operation on specific VMs or all the VMs which are
"guestToolsNotRunning" status?
On Thu, Apr 9, 2020 at 12:53 PM Kiran Kumar wrote:
> Please suggest how can i add when clause in above, ie when tools status
> "guestToolsNotRunning" , power off the vm.
>
>
>