aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/apache/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/apache/handlers/main.yml')
-rw-r--r--ansible/roles/apache/handlers/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/roles/apache/handlers/main.yml b/ansible/roles/apache/handlers/main.yml
new file mode 100644
index 0000000..9a5a629
--- /dev/null
+++ b/ansible/roles/apache/handlers/main.yml
@@ -0,0 +1,11 @@
+- name: systemctl reload apache
+ become: yes
+ systemd:
+ name: apache2
+ state: reloaded
+
+- name: systemctl restart apache
+ become: yes
+ systemd:
+ name: apache2
+ state: restarted