From 0e8be5c5145705cb5663d78787fdec56afbd3318 Mon Sep 17 00:00:00 2001 From: Viktor Berke Date: Sat, 18 Nov 2023 03:16:04 +0100 Subject: [PATCH] Ubuntu 18.04 compat --- handlers/main.yml | 2 +- tasks/php.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index ed2e825..cca8c5d 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -4,6 +4,6 @@ cmd: nginx -t && systemctl restart nginx.service - name: Reload PHP - systemd_service: + systemd: name: "{{ noobient_nginx_php_unit }}" state: restarted diff --git a/tasks/php.yml b/tasks/php.yml index cf471eb..aaa31d9 100644 --- a/tasks/php.yml +++ b/tasks/php.yml @@ -53,7 +53,7 @@ notify: Reload PHP - name: Enable PHP service - systemd_service: + systemd: name: "{{ noobient_nginx_php_unit }}" enabled: true state: started