This topic needs a title

Hi All,

I’m new to Ansible and still learning . My organization has plan to do esxi upgrade via ansible. As a administrator we need to think of smart way to do ansible way . As initial step of the upgrade I would like to migrate VMs from one host to another host and maintenance mode,poweroff then upgrade then bring back to vcenter.I’m again telling I’m very new to Ansible.if someone done the task kindly helpe on this.

Thank you

Hi Ramesh,

yes, it’s possible to use ansible, but purely using shell module, and calling esxi command.
My suggestion, it’s rather straight forward to do esxi upgrade via update manager rather than using ansible.

Hi Benny

Thank you. Did you experiment the task . Can you share sample play book ?