Open christian-naenny opened 2 years ago
Files identified in the description: None
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
We need this same feature so we can remove RDM LUNS as well. Our current playbook removes the RDM from the VM but are having to rip the storage away from the host as a part of our nightly environment refresh. This causes APD events and would love to be able to properly detach luns.
Any update on this issue? Is there any chance this will be selected for development anytime soon?
Also need this feature would be great if it could be selected for development.
SUMMARY
The vmware_host_datastore module can be used to mount and unmount datastores from ESXi hosts. But I would also need the functionality to detach the datastore device after unmounting the VMFS filesystem. The same is true for the mount. I need to be able to attach the datastore device which is available but detached from a host before mounting it.
ISSUE TYPE
COMPONENT NAME
community.vmware.vmware_host_datastore
ADDITIONAL INFORMATION
Basically what I would like to to is what I have been using the PowerShell Cmdlet to do: Here's a snippet of my PowerShell Code:
This is the playbook snippet I would expect to work to first attach the datastore device and then to mount the VMFS filesystem. There is a lot of LDAP lookups as a lot of information about our systems is stored in our LDAP instance!