mirror/thinlinc: Link data directory to web root
This commit is contained in:
parent
9afdda987e
commit
fabcc2fe88
1 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,15 @@
|
||||||
owner: mirror
|
owner: mirror
|
||||||
group: mirror
|
group: mirror
|
||||||
|
|
||||||
|
- name: link target directory
|
||||||
|
file:
|
||||||
|
dest: /srv/web/{{ inventory_hostname }}/thinlinc
|
||||||
|
src: /srv/mirrors/thinlinc
|
||||||
|
state: link
|
||||||
|
owner: root
|
||||||
|
group: "{{ ansible_wheel }}"
|
||||||
|
follow: false
|
||||||
|
|
||||||
- name: copy sync script
|
- name: copy sync script
|
||||||
copy:
|
copy:
|
||||||
dest: /usr/local/bin/sync-thinlinc-repo
|
dest: /usr/local/bin/sync-thinlinc-repo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue