refactor: use generic ansible modules service and package
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2021-06-05 15:30:41 +02:00
parent 5f1c5cc7a2
commit 3cfa354a0c
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
---
- name: Reload nginx
systemd:
service:
state: reloaded
name: nginx
listen: __nginx_reload

View File

@ -1,6 +1,6 @@
---
- name: Ensure nginx service is up and running
systemd:
service:
state: started
daemon_reload: yes
enabled: yes