swapt to prod
This commit is contained in:
parent
73c3a16029
commit
7f77732492
5 changed files with 6 additions and 20 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env ansible-playbook
|
#!/usr/bin/env ansible-playbook
|
||||||
---
|
---
|
||||||
- hosts: test_proxy
|
- hosts: apt_proxies
|
||||||
roles:
|
roles:
|
||||||
- apt_cacher_ng
|
- apt_cacher_ng
|
||||||
|
|
3
host_vars/hindley/apt_proxy.yml
Normal file
3
host_vars/hindley/apt_proxy.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
proxy_apt_interfaces:
|
||||||
|
- "{{ interfaces['wg0'].ipv4 }}"
|
|
@ -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
|
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
proxy_apt_interfaces:
|
|
||||||
- "{{ interfaces['enp0s8'].ipv4 }}"
|
|
||||||
- "{{ interfaces['enp0s3'].ipv4 }}"
|
|
6
hosts
6
hosts
|
@ -15,7 +15,6 @@ all:
|
||||||
debian_bullseye:
|
debian_bullseye:
|
||||||
hosts:
|
hosts:
|
||||||
vm4:
|
vm4:
|
||||||
proxy_apt:
|
|
||||||
proxmox_buster:
|
proxmox_buster:
|
||||||
hosts:
|
hosts:
|
||||||
hellman:
|
hellman:
|
||||||
|
@ -42,7 +41,6 @@ all:
|
||||||
vm2:
|
vm2:
|
||||||
vm3:
|
vm3:
|
||||||
vm4:
|
vm4:
|
||||||
proxy_apt:
|
|
||||||
vpn:
|
vpn:
|
||||||
hosts:
|
hosts:
|
||||||
azerty:
|
azerty:
|
||||||
|
@ -53,6 +51,6 @@ all:
|
||||||
vm2:
|
vm2:
|
||||||
vm3:
|
vm3:
|
||||||
vm4:
|
vm4:
|
||||||
test_proxy:
|
apt_proxies:
|
||||||
hosts:
|
hosts:
|
||||||
proxy_apt:
|
hindley:
|
||||||
|
|
Loading…
Reference in a new issue