[debian_images] Adapt configuration for gulp/charybde
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
80a40df6c4
commit
ac2540fc81
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
glob_debian_images:
|
||||
cron_timer: '39 06 * * *'
|
||||
rsync_host: "eclat.adm.crans.org"
|
||||
rsync_host: 'eclat.adm.crans.org'
|
||||
rsync_module: 'mirror'
|
||||
|
|
|
@ -13,6 +13,7 @@ proxmox_mirror: http://mirror.cachan-adm.crans.org/proxmox/debian/pve
|
|||
|
||||
loc_debian_images:
|
||||
rsync_host: 'mirror.cachan-adm.crans.org'
|
||||
rsync_module: 'ftp'
|
||||
|
||||
loc_postgres:
|
||||
subnets:
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
until: apt_result is succeeded
|
||||
|
||||
- name: Initial synchronization to download Debian images
|
||||
shell: "rsync --verbose --dirs --compress --times --update --delete-after --delete-excluded --include 'debian-[0-9]*-amd64-netinst.iso' --exclude '*' rsync://eclat.adm.crans.org/mirror/cdimage-debian/release/current/amd64/iso-cd/ /var/lib/vz/template/iso/"
|
||||
shell: "rsync --verbose --dirs --compress --times --update --delete-after --delete-excluded --include 'debian-[0-9]*-amd64-netinst.iso' --exclude '*' rsync://{{ debian_images.rsync_host }}/{{ debian_images.rsync_module }}/cdimage-debian/release/current/amd64/iso-cd/ /var/lib/vz/template/iso/"
|
||||
register: rsync_output
|
||||
changed_when: '"debian" in rsync_output.stdout'
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{{ ansible_header | comment }}
|
||||
|
||||
{{ debian_images.cron_timer }} root rsync --info=name1 --dirs --compress --times --update --delete-after --delete-excluded --include 'debian-[0-9]*-amd64-netinst.iso' --exclude '*' rsync://{{ debian_images.rsync_host }}/mirror/cdimage-debian/release/current/amd64/iso-cd/ /var/lib/vz/template/iso/
|
||||
{{ debian_images.cron_timer }} root rsync --info=name1 --dirs --compress --times --update --delete-after --delete-excluded --include 'debian-[0-9]*-amd64-netinst.iso' --exclude '*' rsync://{{ debian_images.rsync_host }}/{{ debian_images.rsync_module }}/cdimage-debian/release/current/amd64/iso-cd/ /var/lib/vz/template/iso/
|
||||
|
|
Loading…
Reference in New Issue