Adjust VM name;Add network;Refactor cd rom
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Danny Bessems 2022-04-18 19:45:41 +02:00
parent d6d782b6c2
commit c55eddc5dc
1 changed files with 5 additions and 3 deletions

View File

@ -13,7 +13,7 @@
datacenter: "{{ hv.datacenter }}"
folder: "{{ hv.folder }}"
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 }}"
hardware:
memory_mb: 8192
@ -22,10 +22,12 @@
- size_gb: 50
type: thin
datastore: "{{ hv.datastore }}"
networks:
- name: "{{ hv.network }}"
ip: "{{ item.ip }}"
cdrom:
type: iso
- type: iso
iso_path: "[{{ hv.isodatastore }}] {{ item.iso_path }}"
# template: "{{ item.template }}"
state: poweredon
# customization_spec: "{{ customization_spec }}"
delegate_to: localhost