hide under the rug the dhcpcd issue with rabian
This commit is contained in:
parent
4e962888f6
commit
746afa3159
3 changed files with 8 additions and 1 deletions
|
@ -1,8 +1,15 @@
|
|||
---
|
||||
interfaces:
|
||||
eth0:
|
||||
ipv4: 192.168.0.50
|
||||
netmaskv4: 24
|
||||
type: static
|
||||
routes:
|
||||
- {subnet: 0.0.0.0, netmask: 0, gateway: 10.0.2.1}
|
||||
wg0:
|
||||
ipv4: "{{ intranet.subnets.physical.subnets.rossum.ipv4 }}"
|
||||
netmaskv4: "{{ intranet.netmaskv4 }}"
|
||||
type: wireguard
|
||||
|
||||
ipv4_forwarding: false
|
||||
ipv6_forwarding: false
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
vpn_interfaces:
|
||||
wg0:
|
||||
ip: "{{ interfaces.wg0.ipv4 }}"
|
||||
private_key: "{{ vpn_vault_rossum_key }}"
|
||||
public_key: "YNEp3V5wsDLxDR29WhzECOCdOxiOuxuAqUUwS3gJWT4="
|
||||
keepalive: true
|
||||
|
|
|
@ -55,4 +55,5 @@
|
|||
group: root
|
||||
mode: '640'
|
||||
notify: Reload network interfaces
|
||||
when: (item.value.type == "wireguard") or ("raspbian_buster" not in group_names)
|
||||
loop: "{{ lookup('dict', interfaces) }}"
|
||||
|
|
Loading…
Reference in a new issue