diff options
author | Aaron LI <aly@aaronly.me> | 2019-09-22 10:28:05 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-09-22 10:28:05 +0800 |
commit | e74c502c87e377fde811d984f82236561a136148 (patch) | |
tree | 3cdb51671d21d89c15a2e06fcb26d82d24c35ad8 | |
parent | 0ac3a9599149c85e090c49e8ea537ac92418c33d (diff) | |
download | ansible-dfly-vps-e74c502c87e377fde811d984f82236561a136148.tar.bz2 |
web/handlers: Use 'service' module
-rw-r--r-- | roles/web/handlers/main.yml | 4 |
1 files changed, 3 insertions, 1 deletions
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 |