Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
7411e9a2
Verified
Commit
7411e9a2
authored
Feb 19, 2018
by
Florian Pritz
Browse files
Tag nginx configs in roles as nginx
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
6bf14014
Changes
16
Hide whitespace changes
Inline
Side-by-side
roles/arch32_mirror/tasks/main.yml
View file @
7411e9a2
...
...
@@ -31,3 +31,4 @@
notify
:
-
reload nginx
when
:
'
arch32_mirror_domain
is
defined'
tags
:
[
'
nginx'
]
roles/archive/tasks/main.yml
View file @
7411e9a2
...
...
@@ -34,6 +34,7 @@
mode
:
0644
notify
:
-
reload nginx
tags
:
[
'
nginx'
]
-
name
:
make nginx log dir
file
:
...
...
roles/archweb/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
...
...
roles/flyspray/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
...
...
roles/grafana/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
...
...
roles/kanboard/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
...
...
roles/matrix/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
...
...
roles/nginx/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
...
...
roles/patchwork/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
...
...
roles/phpinfo/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
:
>
...
...
roles/planet/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
...
...
roles/public_html/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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'
]
roles/security_tracker/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
...
...
roles/sources/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
...
...
roles/syncrepo/tasks/main.yml
View file @
7411e9a2
...
...
@@ -49,3 +49,4 @@
notify
:
-
reload nginx
when
:
'
mirror_domain
is
defined'
tags
:
[
'
nginx'
]
roles/zabbix-server/tasks/main.yml
View file @
7411e9a2
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment