summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2015-08-28 15:51:23 +0200
committerChristian Franke <nobody@nowhere.ws>2015-08-28 15:51:23 +0200
commit6a8b1427d435c7825e8fb11cdd9352b711e1fd92 (patch)
treeeafc12e0bf4338d2cafee002fc923d684b475c11
parent1eb35a1e69d9a9f3f43340b9ea46d95bb2c1a0e8 (diff)
Some modules require apache to be restarted to work properly
-rw-r--r--roles/apache/handlers/main.yaml3
-rw-r--r--roles/apache/tasks/main.yaml2
2 files changed, 4 insertions, 1 deletions
diff --git a/roles/apache/handlers/main.yaml b/roles/apache/handlers/main.yaml
index ca5b41d..abf7ef4 100644
--- a/roles/apache/handlers/main.yaml
+++ b/roles/apache/handlers/main.yaml
@@ -1,3 +1,6 @@
---
- name: Reload apache
service: name=apache2 state=reloaded
+
+- name: Restart apache
+ service: name=apache2 state=restarted
diff --git a/roles/apache/tasks/main.yaml b/roles/apache/tasks/main.yaml
index 0125a08..40b021a 100644
--- a/roles/apache/tasks/main.yaml
+++ b/roles/apache/tasks/main.yaml
@@ -19,7 +19,7 @@
- reqtimeout
- rewrite
- ssl
- notify: Reload apache
+ notify: Restart apache
- name: Disable standard vhost
file: