vm-ansible/roles/common/templates/netplan.yaml.template

12 lines
220 B
Plaintext

# {{ansible_managed}}
network:
version: 2
renderer: networkd
ethernets:
ens192:
dhcp4: true
dhcp-identifier: mac
dhcp4-overrides:
use-routes: false
gateway4: {{default_gateway}}