Link foo.sh repository to web root on mirror hosts

This commit is contained in:
Timo Makinen 2021-03-19 16:56:13 +00:00
parent 675d7af7a4
commit a1d4d732ba

View file

@ -70,3 +70,13 @@
- "--include=/syspatch/?.?/amd64/*"
- "--exclude=*"
- "--delete-excluded"
tasks:
- name: link foo.sh yum repo to web
file:
dest: /srv/web/{{ inventory_hostname }}/foo.sh
src: /srv/mirrors/foo.sh
state: link
owner: root
group: "{{ ansible_wheel }}"
follow: false