From aa515376c6540e6a1cf3b273c75d39ebd31465c9 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Wed, 10 Jul 2019 20:47:01 -0500 Subject: [PATCH] Need to reload systemd daemon when adding apache config files --- roles/lokole/tasks/install.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/lokole/tasks/install.yml b/roles/lokole/tasks/install.yml index 684880ebf..6b7bac154 100644 --- a/roles/lokole/tasks/install.yml +++ b/roles/lokole/tasks/install.yml @@ -126,7 +126,8 @@ when: (not lokole_enabled) and (not is_debuntu) - name: Restart Apache ({{ apache_service }}) to enable/disable http://box/lokole - service: + systemd: + daemon_reload: yes name: "{{ apache_service }}" state: restarted