Skip to content
Snippets Groups Projects
Verified Commit 93f0afb4 authored by Christian Heusel's avatar Christian Heusel :rocket:
Browse files

mirrorsync: Fix the syncarchive setup

related to #531



Fixes: c31dd330 ("prepare the split of repo and archive server")
Signed-off-by: default avatarChristian Heusel <christian@heusel.eu>
parent b2881def
No related branches found
No related tags found
1 merge request!826switch the rsync domain to the new repo server
Pipeline #100873 passed
mirrorsync_mirrors:
archive:
hosts: "{{ groups['archive_mirrors'] }}"
source: rsync://rsync.archlinux.org/archive
source: rsync://archive.archlinux.org/archive
target: /srv/archive
last_update_url: https://archive.archlinux.org/repos/last/lastupdate
last_update_dst: lastupdate
......
......@@ -17,6 +17,14 @@
tags:
- nginx
- name: Put rsyncd.conf into tmpfiles
copy: src=rsyncd-tmpfiles.d dest=/etc/tmpfiles.d/rsyncd.conf owner=root group=root mode=0644
register: rsyncdtmpfiles
- name: Use tmpfiles.d/rsyncd.conf
command: systemd-tmpfiles --create creates=/run/rsyncd
when: rsyncdtmpfiles.changed
- name: Create rsyncd-conf-genscripts
file: path=/etc/rsyncd-conf-genscripts state=directory owner=root group=root mode=0700
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment