vmware-archive / ansible-module-vcloud-director

ansible-module-vcloud-director
Other
111 stars 86 forks source link

RFE : Vmware Update Manager automation with Ansible #81

Open shamaljayalath opened 4 years ago

shamaljayalath commented 4 years ago

Hi Guys,

I know this may not be the best space to raise this RFE for automating VMware Update Manager with Ansible but wondering if this is something you guys able to look in to? Quite similar to Vcloud Director process, VUM also involves lots of manual steps in order to update ESX farm via VUM so if we can drive that process via Ansible that would be fantastic!

If this is not the right forum, can you please refer to the correct space so we can get in touch with the relevant teams?

Cheers,

Akasurde commented 4 years ago

@shamaljayalath Thanks for reporting this feature request.

shamaljayalath commented 4 years ago

thanks for the ack!

Thought if we can automate something like this via Ansible as a starter, would be a good starting point 👍 https://4sysops.com/archives/using-vmware-vsphere-update-manager-with-powercli/

Only prob I encountered was some "VMware.VumAutomation" module comes as a part of PowerCLI running on PowerShell core is not currently supported. But anyway Ill leave it at your capable hands to decide best way forward.

Cheers,

zyphermonkey commented 3 years ago

I'm also extremely interested in this and ran into the same roadblock when trying to use Powershell Core on linux not supporting the necessary module(s).

At the very least ansible can interface with vCenter via the API, but there are currently no endpoints to update baseline or initiate remediation.

Akasurde commented 3 years ago

@zyphermonkey Thanks. I started some work-related to vSphere Update Manager. But due to a lack of interest from the community, halted soon. If you are interested, please visit - https://github.com/Akasurde/ansible-vmware_update_manager. Let me know. Thanks,

zyphermonkey commented 3 years ago

@zyphermonkey Thanks. I started some work-related to vSphere Update Manager. But due to a lack of interest from the community, halted soon. If you are interested, please visit - https://github.com/Akasurde/ansible-vmware_update_manager. Let me know. Thanks,

Due to the limitations of PowerShell core on Linux I'm going to guess that the role you've developed won't work from my RHEL Ansible Tower machine running powercli.

At least that's what I've found. I started working on some PowerShell scripts to interact with VUM and then when attempting to get them to run from Linux they bomb because the modules I need aren't supported in PowerShell core.