forgot the lo

This commit is contained in:
histausse 2021-07-05 03:30:57 +02:00
parent 746afa3159
commit eb58baf3b9
Signed by: histausse
GPG key ID: 67486F107F62E9E9
3 changed files with 9 additions and 2 deletions

View file

@ -1,11 +1,15 @@
---
interfaces:
enp0s25:
ipv4: "10.50.1.221"
ipv4: 10.50.1.221
netmaskv4: 16
type: static
routes:
- {subnet: 0.0.0.0, netmask: 0, gateway: 10.50.0.254}
wg0:
ipv4: "{{ intranet.subnets.physical.subnets.azerty.ipv4 }}"
netmaskv4: "{{ intranet.netmaskv4 }}"
type: wireguard
ipv4_forwarding: false
ipv6_forwarding: false

View file

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

View file

@ -1,3 +1,7 @@
{{ ansible_managed | comment }}
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback