Adjust VM name;Add network;Refactor cd rom
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2022-04-18 19:45:41 +02:00
parent d6d782b6c2
commit c55eddc5dc

View File

@ -13,7 +13,7 @@
datacenter: "{{ hv.datacenter }}" datacenter: "{{ hv.datacenter }}"
folder: "{{ hv.folder }}" folder: "{{ hv.folder }}"
cluster: "{{ hv.cluster }}" cluster: "{{ hv.cluster }}"
name: "{{ kubernetes.clustername }}_{{ lookup('community.general.random_string', length=5, numbers=false, special=false) }}" name: "{{ kubernetes.clustername | upper }}_{{ lookup('community.general.random_string', length=5, numbers=false, special=false) | upper }}"
guest_id: "{{ item.guest_id }}" guest_id: "{{ item.guest_id }}"
hardware: hardware:
memory_mb: 8192 memory_mb: 8192
@ -22,10 +22,12 @@
- size_gb: 50 - size_gb: 50
type: thin type: thin
datastore: "{{ hv.datastore }}" datastore: "{{ hv.datastore }}"
networks:
- name: "{{ hv.network }}"
ip: "{{ item.ip }}"
cdrom: cdrom:
type: iso - type: iso
iso_path: "[{{ hv.isodatastore }}] {{ item.iso_path }}" iso_path: "[{{ hv.isodatastore }}] {{ item.iso_path }}"
# template: "{{ item.template }}"
state: poweredon state: poweredon
# customization_spec: "{{ customization_spec }}" # customization_spec: "{{ customization_spec }}"
delegate_to: localhost delegate_to: localhost