Skip to content
Snippets Groups Projects
Verified Commit 82818b73 authored by ynerant's avatar ynerant
Browse files

Reload apache after deploying its configuration


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 408c857f
No related branches found
No related tags found
1 merge request!226[zamok_apache] Reload apache after deploying its configuration
---
- name: Reload apache
systemd:
name: apache2
state: reloaded
......@@ -82,6 +82,7 @@
- rewrite
- socache_shmcb
- userdir
notify: Reload apache
- name: Copy apache configuration
template:
......@@ -96,6 +97,7 @@
- "sites-available/000-perso-vhosts.conf"
- "sites-available/001-perso.conf"
- "suexec/www-data"
notify: Reload apache
- name: Enable apache sites
file:
......@@ -108,3 +110,4 @@
loop:
- "000-perso-vhosts.conf"
- "001-perso.conf"
notify: Reload apache
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment