roles/nginx: Use systemd module instead of service

This commit is contained in:
Alan Orth 2017-11-03 12:19:58 +02:00
parent 2d6819986f
commit 9b4f662bc5
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
---
- name: reload nginx
service: name=nginx state=reloaded
systemd: name=nginx state=reloaded
# vim: set ts=2 sw=2:

View File

@ -52,7 +52,7 @@
tags: nginx
- name: Start and enable nginx service
service: name=nginx state=started enabled=yes
systemd: name=nginx state=started enabled=yes
tags: nginx
# vim: set ts=2 sw=2: