community.vmware
community.vmware copied to clipboard
VM Swap File Location
SUMMARY
In the Host Configure tab under Virtual Machines>Swap File Location the location of VM Swap can be changed to "Virtual Machine Directory" or "Use a specific datastore" There does not currently appear to be any Ansible module that allows for re-configuring this setting PowerCLI has it under Set-VMHost -VMSwapfileDatastore and -VMSwapfilePolicy https://vdc-repo.vmware.com/vmwb-repository/dcr-public/e7c1a32c-a3c6-4d7c-91bb-18a86a38daf7/12353298-ce6e-4d3f-bd8d-ab9f5ab044cc/doc/Set-VMHost.html
ISSUE TYPE
- Feature Idea A new module or additional parameter to existing host configuration modules to allow for setting this for with VM or on a datastore and specifying the datastore
COMPONENT NAME
vmware_host_config_manager
ADDITIONAL INFORMATION
Files identified in the description:
- [
plugins/modules/vmware_host_config_manager.py](https://github.com/['ansible-collections/amazon.aws', 'ansible-collections/community.aws', 'ansible-collections/community.vmware']/blob/main/plugins/modules/vmware_host_config_manager.py)
If these files are inaccurate, please update the component name section of the description or use the !component bot command.
cc @Akasurde @Tomorrow9 @goneri @lparkes @pgbidkar @warthog9 click here for bot help
Any thoughts?
I would also be interested in being able to configure this property via Ansible, as we would want to change the value of this setting depending on whether we are using a replicated cluster or not.