From ea725abe9e3e6773f483bcfde7daa42b4eaea135 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 1 Nov 2023 08:23:15 +0100 Subject: [PATCH] Update handlers --- handlers/main.yml | 7 +++---- tasks/php.yml | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index 8459573..f0d9b28 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -18,7 +18,6 @@ - name: start php-fpm-socket ansible.builtin.command: systemctl start php-fpm@*.socket --all -- name: reload monit - ansible.builtin.service: - name: monit - state: reloaded +- name: Reload systemd + ansible.builtin.systemd: + daemon_reload: true diff --git a/tasks/php.yml b/tasks/php.yml index 4c7d381..305933b 100644 --- a/tasks/php.yml +++ b/tasks/php.yml @@ -44,5 +44,6 @@ dest: /etc/systemd/system/php-fpm@.service.d/override.conf mode: "0644" notify: + - Reload systemd - stop php-fpm-service - start php-fpm-socket