apiVersion: v1 baseDomain: {{ baseDomain }} metadata: name: {{ name }} networking: machineNetwork: - cidr: 192.168.111.0/24 compute: - name: worker replicas: {{ groups['workers'] | length }} platform: baremetal: {} controlPlane: name: master replicas: {{ groups['masters'] | length }} platform: baremetal: {} platform: baremetal: apiVIP: 192.168.111.5 ingressVIP: 192.168.111.4 hosts: {% for host in hosts %} - name: {{ host.name }} role: {{ host.role }} bmc: address: {{ host.bmc.address }} username: {{ host.bmc.username }} password: {{ host.bmc.password }} bootMACAddress: {{ host.bootMACAddress }} rootDeviceHints: minSizeGigabytes: {{ host.rootDeviceHints.minSizeGigabytes }} bootMode: {{ host.bootMode | default('legacy') }} {% endfor %} pullSecret: {{ pullSecret }} sshKey: |- "{{ sshKey | indent( width=2, first=True) }}"