From 1819787da40ff0e341d70609478b6c78d749c843 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Thu, 29 Aug 2019 12:22:51 +0000 Subject: [PATCH] server/spotme: Used external handler for daemon_reload --- roles/server/spotme/handlers/main.yml | 1 - roles/server/spotme/tasks/main.yml | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/server/spotme/handlers/main.yml b/roles/server/spotme/handlers/main.yml index 8e86cef..d1e052d 100644 --- a/roles/server/spotme/handlers/main.yml +++ b/roles/server/spotme/handlers/main.yml @@ -2,7 +2,6 @@ - name: restart spotme systemd: - daemon_reload: yes enabled: yes name: "{{ spotme_service_name }}" state: restarted diff --git a/roles/server/spotme/tasks/main.yml b/roles/server/spotme/tasks/main.yml index 97ebc98..dfdc439 100644 --- a/roles/server/spotme/tasks/main.yml +++ b/roles/server/spotme/tasks/main.yml @@ -95,4 +95,6 @@ owner: root group: root mode: "u=rw,g=r,o=" - notify: restart spotme + notify: + - reload systemd + - restart spotme