You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ This role adds support for these features.
18
18
- Sets the hostname.
19
19
- Adds one or more ssh public keys and/or a password for the default user "ubuntu" so that Ansible can connect to the new machine.
20
20
- Optionally adjusts the hardware, e.g. number of CPUs or memory, see [vmware_guest](https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_guest_module.html#parameters) for possible customizations.
21
+
- Optionally adjusts the video card configuration (memory, 3D accelleration) see [vmware_guest_video](https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_guest_video_module.html#parameters) for details (not all parameters are supported).
21
22
- Optionally sets VM notes (annotations), VM [configuration file parameters](https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/7-0/edit-virtual-machine-configuration-file-parameters.html) and/or VM custom attributes.
22
23
- Disk size may be increased (defaults to 10GB), additional disks may be created and added.
23
24
- Optionally changes the dynamic IP address to a static one (taken either from the playbook or from DNS).
@@ -92,6 +93,7 @@ Role Variables
92
93
- Use `password` to set a password for the user "ubuntu".
93
94
At least one of `ssh_keys` and `password` has to be specified so that Ansible can connect to the new machine.
94
95
- The hardware can be specified with `hardware`, containing a dictionary as specified in [vmware_guest](https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_guest_module.html#parameters).
96
+
- The video card configuration can be specified with `video_card`, containing a dictionary as specified in [vmware_guest_video](https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_guest_video_module.html#parameters). Supported parameters: `video_memory_mb`, `enable_3D`, `renderer_3D`, `memory_3D_mb`.
95
97
- Disk size may be adjusted with `disk`. This parameter accepts a list of disk specifications as documented in [vmware_guest_disk](https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_guest_disk_module.html#parameters).
96
98
The first disk corresponds to the imported virtual disk. Its size may only be increased.
97
99
See the example playbook below for usage.
@@ -144,15 +146,13 @@ playbook:
144
146
vmware_datacenter: your-datacenter
145
147
vmware_datastore: your-datastore
146
148
vmware_folder: your-datacenter/vm/some-folder
147
-
ova_file: ubuntu-20.04-server-cloudimg-amd64.ova
149
+
ova_file: ubuntu-24.04-server-cloudimg-amd64.ova
148
150
hardware:
149
151
num_cpus: 4
150
152
memory_mb: 2048
153
+
video_card:
154
+
video_memory_mb: 32
151
155
annotation: 'sample VM based on Ubuntu Cloud Image'
152
-
# this avoids excessive syslog messages from multipathd under Ubuntu 20.04
0 commit comments