Rebase to ISO;Add automatic name generation
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
4f9a3b414b
commit
e2b2e78eb8
@ -13,8 +13,11 @@
|
||||
datacenter: "{{ hv.datacenter }}"
|
||||
folder: "{{ hv.folder }}"
|
||||
cluster: "{{ hv.cluster }}"
|
||||
name: "{{ item.ip }}"
|
||||
template: "{{ item.template }}"
|
||||
name: "{{ kubernetes.clustername }}_{{ lookup('community.general.random_string', length=5, upper=true, numbers=false, special=false) }}"
|
||||
cdrom:
|
||||
type: iso
|
||||
iso_path: "[{{ hv.isodatastore }}] {{ item.iso_path }}"
|
||||
# template: "{{ item.template }}"
|
||||
state: poweredon
|
||||
# customization_spec: "{{ customization_spec }}"
|
||||
delegate_to: localhost
|
||||
|
@ -6,4 +6,5 @@ hv:
|
||||
folder: Development
|
||||
cluster: Cluster.Legacy
|
||||
datastore: NAS01.RAID5
|
||||
isodatastore: ESX00.SSD03
|
||||
network: LAN
|
||||
|
@ -1,8 +1,10 @@
|
||||
---
|
||||
kubernetes:
|
||||
clustername: k3s-dev
|
||||
servers:
|
||||
- ip: 192.168.11.121
|
||||
template: xyz
|
||||
iso_path: ubuntu-20.04.1-live-server-amd64.iso
|
||||
- ip: 192.168.11.122
|
||||
template: abc
|
||||
iso_path: ubuntu-20.04.1-live-server-amd64.iso
|
||||
- ip: 192.168.11.123
|
||||
template: pqr
|
||||
iso_path: ubuntu-20.04.1-live-server-amd64.iso
|
||||
|
Loading…
Reference in New Issue
Block a user