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 }}"
|
datacenter: "{{ hv.datacenter }}"
|
||||||
folder: "{{ hv.folder }}"
|
folder: "{{ hv.folder }}"
|
||||||
cluster: "{{ hv.cluster }}"
|
cluster: "{{ hv.cluster }}"
|
||||||
name: "{{ item.ip }}"
|
name: "{{ kubernetes.clustername }}_{{ lookup('community.general.random_string', length=5, upper=true, numbers=false, special=false) }}"
|
||||||
template: "{{ item.template }}"
|
cdrom:
|
||||||
|
type: iso
|
||||||
|
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
|
||||||
|
@ -6,4 +6,5 @@ hv:
|
|||||||
folder: Development
|
folder: Development
|
||||||
cluster: Cluster.Legacy
|
cluster: Cluster.Legacy
|
||||||
datastore: NAS01.RAID5
|
datastore: NAS01.RAID5
|
||||||
|
isodatastore: ESX00.SSD03
|
||||||
network: LAN
|
network: LAN
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
kubernetes:
|
||||||
|
clustername: k3s-dev
|
||||||
servers:
|
servers:
|
||||||
- ip: 192.168.11.121
|
- ip: 192.168.11.121
|
||||||
template: xyz
|
iso_path: ubuntu-20.04.1-live-server-amd64.iso
|
||||||
- ip: 192.168.11.122
|
- ip: 192.168.11.122
|
||||||
template: abc
|
iso_path: ubuntu-20.04.1-live-server-amd64.iso
|
||||||
- ip: 192.168.11.123
|
- 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