diff --git a/handlers/main.yml b/handlers/main.yml index 14298dd..ad99105 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -15,16 +15,11 @@ state: reloaded delegate_to: "{{ gateway_host }}" -- name: stop php-fpm-socket - command: systemctl stop php-fpm@*.socket - -- name: stop php-fpm-service - command: systemctl stop php-fpm@*.service - -- name: start php-fpm-socket - command: systemctl start php-fpm@*.socket --all - - name: restart fail2ban service: name: fail2ban state: restarted + +- name: Systemd daemon-reload + ansible.builtin.systemd: + daemon_reload: true