cluster-prepare/templates/netplan.yaml
2021-11-09 02:18:02 +01:00

15 lines
379 B
YAML

# {{ansible_managed}}
network:
version: 2
ethernets:
{{ legit_uplink.interface }}:
dhcp4: false
dhcp6: false
gateway4: {{ legit_uplink.gateway }}
addresses:
- "{{ legit_uplink.address }}/24"
{{ legit_cluster_network.interface }}:
dhcp4: false
dhcp6: false
addresses:
- "{{ legit_cluster_network.address }}/24"