Merge branch 'rsync' of thunix/ansible into master

This commit is contained in:
Anton McClure 2019-03-01 13:29:44 -05:00 committed by Gitea
commit 9008a560ab
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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'