community.vmware
community.vmware copied to clipboard
vmware_guest_disk - allow changing controller type on existing disk
Hi
I have an existing disk that's scsi
and want to change to nvme
.
I attached the controller but each time I try the below a new disk gets created.
How can existing one be modified?
- name: change disk to nvme | create feature request since does not work with any existing modules
tags: change
community.vmware.vmware_guest_disk:
hostname: "{{ hostname }}"
username: "{{ username }}"
password: "{{ password }}"
datacenter: "{{ datacenter }}"
name: "{{ inventory_hostname }}"
disk:
- size_gb: '500'
datastore: "{{ datastore }}"
type: thin
controller_type: nvme
controller_number: 0
unit_number: 0
delegate_to: localhost
Thanks, Doug
Im having same trouble.. it doesnt modify, it creates a new disk each time.
@ifelsefi: Greetings! Thanks for taking the time to open this issue. In order for the community to handle your issue effectively, we need a bit more information.
Here are the items we could not find in your description:
- component name
Please set the description of this issue with this template: https://raw.githubusercontent.com/ansible/ansible/devel/.github/ISSUE_TEMPLATE/bug_report.md
COMPONENT NAME vmware_guest_disk