ansible-role-networking/defaults/main.yml
Markus Pesch ef98355d71
All checks were successful
continuous-integration/drone/push Build is passing
feat: support multiple routes and addresses, support wireguard
2022-04-18 16:35:41 +02:00

112 lines
2.2 KiB
YAML

---
systemd_networkd_netdev: []
# - netdev_options:
# - key: Name
# value: bo0
# - key: Kind
# value: Bond
# bond_options:
# - key: Mode
# value: 802.3ad
# - key: TransmitHashPolicy
# value: layer3+4
# - key: MIIMonitorSec
# value: 1s
# - key: LACPRransmitRate
# value: fast
# filename: 10-bo0.netdev
#
# - netdev_options:
# - key: Name
# value: br0
# - key: Kind
# value: Bridge
# bridge_options: {}
# filename: 10-br0.netdev
#
# - netdev_options:
# - key: Name
# value: wg0
# - key: Kind
# value: wireguard
# wireguard_options:
# - key: PrivateKey
# value: "my-priv-key"
# - key: ListenPort
# value: "51820"
# wireguard_peers:
# - name: "a description"
# options:
# - key: PublicKey
# value: "public-key-of-remote-peer"
# - key: PresharedKey
# value: "preshared-key"
# - key: AllowedIPs
# value: "allowd-ips"
# - key: PersistentKeepalive
# value: "25"
# - key: Endpoint
# value: my-endpoint
# filename: 10-wireguard.netdev
systemd_networkd_network: []
# - match_options:
# - key: Name
# value: enp*
# network_options:
# - key: Bond
# value: bo0
# filename: 20-enp.network
# - match_options:
# - key: Name
# value: wlp*
# network_options:
# - key: DHCP
# value: "yes"
# dhcp_options:
# - key: RouteMetric
# value: 20
# filename: 20-wlp.network
#
# - match_options:
# - key: Name
# value: bo0
# network_options:
# - key: Bridge
# value: br0
# - key: BindCarrier
# value: enp*
# filename: 30-bo0.network
# - match_options:
# - key: Name
# value: br0
# network_options:
# - key: DHCP
# value: "yes"
# dhcp_options:
# - key: RouteMetric
# value: 10
#
# - match_options:
# - key: Name
# value: wg0
# network_options:
# - key: DNS
# value: "1.2.3.4"
# - key: DNSDefaultRoute
# value: "false"
# addresses:
# - options:
# - key: Address
# value: "192.168.178.100/32"
# routes:
# - name: VPN-Network
# options:
# - key: Destination
# value: "192.168.178.0/24"
# - key: Gateway
# value: "192.168.178.100"
# filename: "50-wireguard.network"
systemd_timesyncd_timezone: Europe/Berlin