Unverified Commit 24091c52 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

nginx: use reload instead of restart when nginx configuration changes

parent fc23daf5
......@@ -32,7 +32,7 @@
template: >
src=nginx.conf.j2 dest=/etc/nginx/nginx.d/fluxbb.conf
owner=root group=root mode=0644
notify: restart nginx
notify: reload nginx
- name: install python-passlib
pacman: name=python-passlib
......
---
- name: restart nginx
service: name=nginx state=restarted
- name: reload nginx
service: name=nginx state=reloaded
......@@ -9,7 +9,7 @@
- name: configure nginx
template: src=nginx.conf.j2 dest=/etc/nginx/nginx.conf owner=root group=root mode=0644
notify:
- restart nginx
- reload nginx
- name: snippets directories
file: state=directory path=/etc/nginx/{{ item }} 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