refactor: use generic ansible modules service and package
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5f1c5cc7a2
commit
3cfa354a0c
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Reload nginx
|
- name: Reload nginx
|
||||||
systemd:
|
service:
|
||||||
state: reloaded
|
state: reloaded
|
||||||
name: nginx
|
name: nginx
|
||||||
listen: __nginx_reload
|
listen: __nginx_reload
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Ensure nginx service is up and running
|
- name: Ensure nginx service is up and running
|
||||||
systemd:
|
service:
|
||||||
state: started
|
state: started
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
Loading…
Reference in New Issue