community.vmware icon indicating copy to clipboard operation
community.vmware copied to clipboard

VM Swap File Location

Open MallocArray opened this issue 4 years ago • 4 comments

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

MallocArray avatar Feb 08 '21 22:02 MallocArray

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.

click here for bot help

ansibullbot avatar Feb 08 '21 22:02 ansibullbot

cc @Akasurde @Tomorrow9 @goneri @lparkes @pgbidkar @warthog9 click here for bot help

ansibullbot avatar Feb 08 '21 22:02 ansibullbot

Any thoughts?

MallocArray avatar Jul 29 '22 16:07 MallocArray

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.

afogg01 avatar Oct 16 '23 08:10 afogg01