Description
As a VMware veteran, I find little use in the design of this module to automatically migrate a vmkernel to vDS or to vSS if present. Its a needle in a haystack requirement yet its been baked into this module. WOW...
So, I have developed a playbook that adds a VMware host to vCenter then fully configures it for our environment, start to finish. The community.vmware.vmware_vmkernel is part of the process of course, and it works great.
However, when you run the playbook a second time to verify \ validate the configuration, because the vmkernel is already there it attempts to migrate it and fails, thereby not providing the verification you are looking for.
I find working with Ansible playbooks fairly easy, however, as a newbie I am struggling to figure out how to code my playbook around this module so that if the vmkernel is already present it will skip trying to migrate it, then continue performing the remaining tasks.
Thanks in advance for suggestions