[mirror] USe relative paths for symlinks

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-06-24 18:05:06 +02:00
parent fa460b06a4
commit df90d4ca40
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 2 additions and 1 deletions

View File

@ -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