Verified Commit 7411e9a2 authored by Florian Pritz's avatar Florian Pritz
Browse files

Tag nginx configs in roles as nginx


Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 6bf14014
......@@ -31,3 +31,4 @@
notify:
- reload nginx
when: 'arch32_mirror_domain is defined'
tags: ['nginx']
......@@ -34,6 +34,7 @@
mode: 0644
notify:
- reload nginx
tags: ['nginx']
- name: make nginx log dir
file:
......
......@@ -16,6 +16,7 @@
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/archweb.conf owner=root group=root mode=644
notify: reload nginx
when: archweb_site
tags: ['nginx']
- name: make nginx log dir
file: path=/var/log/nginx/{{ archweb_domain }} state=directory owner=root group=root mode=0755
......
......@@ -14,6 +14,7 @@
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/flyspray.conf owner=root group=root mode=644
notify:
- reload nginx
tags: ['nginx']
- name: make nginx log dir
file: path=/var/log/nginx/{{ flyspray_domain }} state=directory owner=root group=root mode=0755
......
......@@ -7,6 +7,7 @@
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/grafana.conf owner=root group=root mode=644
notify:
- reload nginx
tags: ['nginx']
- name: make nginx log dir
file: path=/var/log/nginx/{{ grafana_domain }} state=directory owner=root group=root mode=0755
......
......@@ -13,6 +13,7 @@
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/kanboard.conf owner=root group=root mode=644
notify:
- reload nginx
tags: ['nginx']
- name: make nginx log dir
file: path=/var/log/nginx/{{ kanboard_domain }} state=directory owner=root group=root mode=0755
......
......@@ -134,6 +134,7 @@
notify:
- reload nginx
when: 'matrix_domain is defined'
tags: ['nginx']
- name: install matrix units
copy: src={{ item }} dest=/etc/systemd/system/{{ item }} owner=root group=root mode=0644
......
......@@ -58,6 +58,7 @@
template: src=nginx-hostname-vhost.conf.j2 dest=/etc/nginx/nginx.d/nginx-hostname-vhost.conf owner=root group=root mode=0644
notify:
- reload nginx
tags: ['nginx']
- name: activate letsencrypt renewal service
service: name=certbot-renewal.timer enabled=yes state=started
......
......@@ -12,6 +12,7 @@
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/patchwork.conf owner=root group=root mode=644
notify:
- reload nginx
tags: ['nginx']
- name: make nginx log dir
file: path=/var/log/nginx/{{ patchwork_domain }} state=directory owner=root group=root mode=0755
......
......@@ -16,6 +16,7 @@
src=nginx.conf.j2 dest=/etc/nginx/nginx.d/phpinfo.conf
owner=root group=root mode=0644
notify: reload nginx
tags: ['nginx']
- name: configure php-fpm
template: >
......
......@@ -7,6 +7,7 @@
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/planet.conf owner=root group=root mode=0644
notify:
- reload nginx
tags: ['nginx']
- name: make nginx log dir
file: path=/var/log/nginx/{{ planet_domain }} state=directory owner=root group=root mode=0755
......
......@@ -28,3 +28,4 @@
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/public_html.conf owner=root group=root mode=0644
notify:
- reload nginx
tags: ['nginx']
......@@ -42,6 +42,7 @@
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/security-tracker.conf owner=root group=root mode=644
notify:
- reload nginx
tags: ['nginx']
- name: make nginx log dir
file: path=/var/log/nginx/{{ security_tracker_domain }} state=directory owner=root group=root mode=0755
......
......@@ -4,6 +4,7 @@
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/sources.conf owner=root group=root mode=0644
notify:
- reload nginx
tags: ['nginx']
- name: make nginx log dir
file: path=/var/log/nginx/{{ sources_domain }} state=directory owner=root group=root mode=0755
......
......@@ -49,3 +49,4 @@
notify:
- reload nginx
when: 'mirror_domain is defined'
tags: ['nginx']
......@@ -14,6 +14,7 @@
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/zabbix.conf owner=root group=root mode=644
notify:
- reload nginx
tags: ['nginx']
- name: make nginx log dir
file: path=/var/log/nginx/{{ zabbix_domain }} state=directory owner=root group=root mode=0755
......
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