2023-04-11 21:32:34 +00:00
|
|
|
---
|
|
|
|
# defaults file for manage_netplan
|
|
|
|
manage_netplan_config_file: /etc/netplan/ansible-config.yaml # this MUST be .yaml, .yml will not be picked up by netplan
|
|
|
|
manage_netplan_renderer: networkd # supported value is 'NetworkManager' or 'networkd'
|
|
|
|
manage_netplan_remove_existing: false
|
|
|
|
manage_netplan_search_domain: example.org
|
2023-04-15 12:50:25 +00:00
|
|
|
manage_netplan_install: true
|
2023-04-14 18:31:23 +00:00
|
|
|
manage_netplan_apply: false
|
2023-04-11 21:56:27 +00:00
|
|
|
manage_netplan_configuration: {}
|
2023-04-15 16:14:37 +00:00
|
|
|
# network:
|
|
|
|
# version: 2
|
|
|
|
# ethernets:
|
|
|
|
# enp0s3:
|
|
|
|
# dhcp4: true
|
|
|
|
# enp0s8:
|
|
|
|
# addresses:
|
|
|
|
# - 192.168.250.10/24
|
|
|
|
# - 192.168.250.11/24
|
|
|
|
# nameservers:
|
|
|
|
# addresses:
|
|
|
|
# - 10.0.2.3
|
|
|
|
# - 8.8.8.8
|
|
|
|
# - 8.8.4.4
|
|
|
|
# search:
|
|
|
|
# # Custom variable
|
|
|
|
# - "{{ manage_netplan_search_domain }}"
|
|
|
|
# gateway4: 192.168.250.1
|
|
|
|
# optional: true
|
|
|
|
# routes:
|
|
|
|
# - to: 0.0.0.0/0
|
|
|
|
# via: 9.9.9.9
|
|
|
|
# on-link: true
|
|
|
|
# - to: 192.168.5.0/24
|
|
|
|
# via: 192.168.5.1
|
|
|
|
# table: 102
|
|
|
|
# routing-policy:
|
|
|
|
# - from: 192.168.5.0/24
|
|
|
|
# table: 102
|
|
|
|
# lo:
|
|
|
|
# match:
|
|
|
|
# name: lo
|
|
|
|
# addresses: [7.7.7.7/32]
|
|
|
|
# wifis:
|
|
|
|
# wlp2s0b1:
|
|
|
|
# dhcp4: no
|
|
|
|
# dhcp6: no
|
|
|
|
# addresses: [192.168.0.21/24]
|
|
|
|
# gateway4: 192.168.0.1
|
|
|
|
# access-points:
|
|
|
|
# "network_ssid_name":
|
|
|
|
# password: "**********"
|
|
|
|
# bonds:
|
|
|
|
# bond0:
|
|
|
|
# dhcp4: yes
|
|
|
|
# interfaces:
|
|
|
|
# - enp0s3
|
|
|
|
# - enp4s0
|
|
|
|
# parameters:
|
|
|
|
# # modes can be one of balance-rr, active-backup, balance-xor, broadcast,
|
|
|
|
# # 802.3ad, balance-tlb, and balance-alb.
|
|
|
|
# mode: active-backup
|
|
|
|
# primary: enp0s3
|
|
|
|
# bridges:
|
|
|
|
# br0:
|
|
|
|
# dhcp4: yes
|
|
|
|
# interfaces:
|
|
|
|
# - enp0s3
|
|
|
|
# br0:
|
|
|
|
# addresses: [10.3.99.25/24]
|
|
|
|
# interfaces: [vlan15]
|
|
|
|
# vlans:
|
|
|
|
# vlan15:
|
|
|
|
# accept-ra: no
|
|
|
|
# id: 15
|
|
|
|
# link: enp0s25
|