install apt-cache-ng

networking
histausse 3 years ago
parent 97e90bb949
commit 78810acbc0
Signed by: histausse
GPG Key ID: 67486F107F62E9E9

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

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

@ -0,0 +1,22 @@
---
- name: Install apt-cacher-ng
apt:
name:
- apt-cacher-ng
state: latest
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded
#- name: Create config files
# ansible.builtin.template:
# src: "wiregard.conf"
# dest: "/etc/wireguard/{{ item.key }}.conf"
# owner: root
# group: root
# mode: '600'
# notify: Restart wireguard for interface
# loop:
# - "{{ lookup('dict', vpn_interfaces) }}"
# no_log: true
Loading…
Cancel
Save