Link foo.sh repository to web root on mirror hosts
This commit is contained in:
parent
675d7af7a4
commit
a1d4d732ba
1 changed files with 10 additions and 0 deletions
|
@ -70,3 +70,13 @@
|
||||||
- "--include=/syspatch/?.?/amd64/*"
|
- "--include=/syspatch/?.?/amd64/*"
|
||||||
- "--exclude=*"
|
- "--exclude=*"
|
||||||
- "--delete-excluded"
|
- "--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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue