Merge branch 'rsync' of thunix/ansible into master
This commit is contained in:
commit
9008a560ab
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Mirror rsync jobs for ftp.thunix.net
|
||||
|
||||
rsync -rvltpHS --delete-excluded rsync://ftp.gnu.org/gnu/ /var/www/ftp.thunix.cf/gnu-ftp
|
||||
rsync -rvltpHS --delete-excluded rsync://ftp.gnu.org/alpha/ /var/www/ftp.thunix.cf/gnu-alpha
|
||||
rsync -rvltpHS --delete-excluded rsync://ftp.gnu.org/old-gnu/ /var/www/ftp.thunix.cf/gnu-old
|
|
@ -5,6 +5,13 @@
|
|||
owner: root
|
||||
mode: 744
|
||||
|
||||
- name: Add mirror rsync cron job
|
||||
copy:
|
||||
src: ../files/mirror-rsync
|
||||
dest: /etc/cron.daily/mirror-rsync
|
||||
owner: root
|
||||
mode: 744
|
||||
|
||||
- name: Adding ansible git repo locally
|
||||
git:
|
||||
repo: 'https://tildegit.org/thunix/ansible.git'
|
||||
|
|
Loading…
Reference in New Issue