hide under the rug the dhcpcd issue with rabian

networking
histausse 3 years ago
parent 4e962888f6
commit 746afa3159
Signed by: histausse
GPG Key ID: 67486F107F62E9E9

@ -1,8 +1,15 @@
--- ---
interfaces: 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: wg0:
ipv4: "{{ intranet.subnets.physical.subnets.rossum.ipv4 }}" ipv4: "{{ intranet.subnets.physical.subnets.rossum.ipv4 }}"
netmaskv4: "{{ intranet.netmaskv4 }}" netmaskv4: "{{ intranet.netmaskv4 }}"
type: wireguard
ipv4_forwarding: false ipv4_forwarding: false
ipv6_forwarding: false ipv6_forwarding: false

@ -1,7 +1,6 @@
--- ---
vpn_interfaces: vpn_interfaces:
wg0: wg0:
ip: "{{ interfaces.wg0.ipv4 }}"
private_key: "{{ vpn_vault_rossum_key }}" private_key: "{{ vpn_vault_rossum_key }}"
public_key: "YNEp3V5wsDLxDR29WhzECOCdOxiOuxuAqUUwS3gJWT4=" public_key: "YNEp3V5wsDLxDR29WhzECOCdOxiOuxuAqUUwS3gJWT4="
keepalive: true keepalive: true

@ -55,4 +55,5 @@
group: root group: root
mode: '640' mode: '640'
notify: Reload network interfaces notify: Reload network interfaces
when: (item.value.type == "wireguard") or ("raspbian_buster" not in group_names)
loop: "{{ lookup('dict', interfaces) }}" loop: "{{ lookup('dict', interfaces) }}"

Loading…
Cancel
Save