Commit 6b0bbe56 authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

syncrepo: create nginx log dir iff mirror_domain is defined

parent e5128f1d
......@@ -36,6 +36,7 @@
- name: make nginx log dir
file: path=/var/log/nginx/{{ mirror_domain }} state=directory owner=root group=root mode=0755
when: 'mirror_domain is defined'
- name: set up nginx
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/syncrepo.conf owner=root group=root mode=0644
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment