swapt to prod

This commit is contained in:
histausse 2021-06-29 02:08:59 +02:00
parent 73c3a16029
commit 7f77732492
Signed by: histausse
GPG key ID: 67486F107F62E9E9
5 changed files with 6 additions and 20 deletions

View file

@ -1,5 +1,5 @@
#!/usr/bin/env ansible-playbook
---
- hosts: test_proxy
- hosts: apt_proxies
roles:
- apt_cacher_ng

View file

@ -0,0 +1,3 @@
---
proxy_apt_interfaces:
- "{{ interfaces['wg0'].ipv4 }}"

View file

@ -1,11 +0,0 @@
---
interfaces:
enp0s3:
ipv4: "10.0.2.31"
netmaskv4: 24
enp0s8:
ipv4: "10.0.42.1"
netmaskv4: 24
ipv4_forwarding: false
ipv6_forwarding: false

View file

@ -1,4 +0,0 @@
---
proxy_apt_interfaces:
- "{{ interfaces['enp0s8'].ipv4 }}"
- "{{ interfaces['enp0s3'].ipv4 }}"

6
hosts
View file

@ -15,7 +15,6 @@ all:
debian_bullseye:
hosts:
vm4:
proxy_apt:
proxmox_buster:
hosts:
hellman:
@ -42,7 +41,6 @@ all:
vm2:
vm3:
vm4:
proxy_apt:
vpn:
hosts:
azerty:
@ -53,6 +51,6 @@ all:
vm2:
vm3:
vm4:
test_proxy:
apt_proxies:
hosts:
proxy_apt:
hindley: