2015-10-31 00:56:28 +01:00
|
|
|
---
|
2015-11-04 23:52:57 +01:00
|
|
|
# Configurazione del server come repo
|
2015-10-31 00:56:28 +01:00
|
|
|
|
2015-11-04 23:52:57 +01:00
|
|
|
- name: Installazione apt-mirror
|
|
|
|
yum: pkg=apt-mirror state=present
|
|
|
|
sudo: yes
|
2015-10-31 00:56:28 +01:00
|
|
|
|
2015-11-04 23:52:57 +01:00
|
|
|
- name: Installazione configurazione apt-mirror
|
|
|
|
copy: src=apt-mirror.list dest=/etc/apt-mirror.list
|
|
|
|
sudo: yes
|
2015-10-31 00:56:28 +01:00
|
|
|
|
2015-11-04 23:52:57 +01:00
|
|
|
- name: Installazione cron per sincronizzazione notturna
|
|
|
|
copy: src=apt-mirror-cron dest=/etc/cron.daily/apt-mirror mode=0755
|
|
|
|
sudo: yes
|
2015-10-31 00:56:28 +01:00
|
|
|
|
2015-11-04 23:52:57 +01:00
|
|
|
- name: Installazione logrotate per sincronizzazione notturna
|
|
|
|
copy: src=apt-mirror-logrotate dest=/etc/logrotate.d/apt-mirror mode=0644
|
|
|
|
sudo: yes
|