add web server support to mirror role

This commit is contained in:
Timo Makinen 2019-05-20 23:10:54 +03:00
parent 8ab0c58e21
commit 7c0c59a187
80 changed files with 517 additions and 0 deletions

View file

@ -15,3 +15,11 @@
mode: 0755
owner: mirror
group: mirror
- name: link target directory to web
file:
path: "/srv/web/{{ inventory_hostname }}/{{ label }}"
src: "/srv/mirrors/{{ label }}"
state: link
owner: mirror
group: mirror