From e74c502c87e377fde811d984f82236561a136148 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 22 Sep 2019 10:28:05 +0800 Subject: web/handlers: Use 'service' module --- roles/web/handlers/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/web/handlers/main.yml b/roles/web/handlers/main.yml index 765d2c1..ee5bd0d 100644 --- a/roles/web/handlers/main.yml +++ b/roles/web/handlers/main.yml @@ -1,3 +1,5 @@ --- - name: reload-nginx - command: rcreload nginx + service: + name: nginx + state: reloaded -- cgit v1.2.2