26 lines
982 B
Django/Jinja
26 lines
982 B
Django/Jinja
token: {{ pillar['harvester']['token'] }}
|
|
os:
|
|
ssh_authorized_keys: {{ pillar['harvester']['os']['ssh_authorized_keys'] }}
|
|
nostname: node1
|
|
password: {{ pillar['harvester']['os']['password'] }}
|
|
dns_nameservers:
|
|
- {{ pillar['network']['ip'] }}
|
|
password: {{ pillar['harvester']['os']['password'] }}
|
|
ntp_servers:
|
|
- {{ pillar['network']['ip'] }}
|
|
install:
|
|
mode: create
|
|
networks:
|
|
harvester-mgmt:
|
|
interfaces:
|
|
- name: {{ pillar['harvester']['install']['mgmt-interface'] }}
|
|
method: static
|
|
ip: {{ pillar['network']['ip'][0:-1] }}{{ pillar['network']['hosts']['node1'] }}
|
|
subnet_mask: 255.255.255.0
|
|
gateway: {{ pillar['network']['ip'] }}
|
|
default_route: true
|
|
device: {{ pillar['harvester']['device'] }}
|
|
iso_url: http://{{ pillar['network']['ip'] }}/harvester/harvester-v{{ pillar['harvester']['version'] }}-amd64.iso
|
|
vip: {{ pillar['network']['ip'][0:-1] }}{{ pillar['network']['hosts']['harvester'] }}
|
|
vip_mode: static
|