[mirror] USe relative paths for symlinks
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
fa460b06a4
commit
df90d4ca40
|
@ -18,7 +18,8 @@
|
|||
|
||||
- name: Create mirror symlink
|
||||
file:
|
||||
src: "{{ apt_mirror.root }}/{{ item.host }}/{{ item.symlink }}"
|
||||
# Use relative path to stay modular if the folder is mounted on multiple server at different locations
|
||||
src: "{{ item.host }}/{{ item.symlink }}"
|
||||
dest: "{{ apt_mirror.root }}/{{ item.name }}"
|
||||
mode: 0755
|
||||
state: link
|
||||
|
|
Loading…
Reference in New Issue