refactor: use generic ansible modules service and package
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
23ada42b02
commit
b91d2e7f7d
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Restart Redis
|
- name: Restart Redis
|
||||||
systemd:
|
service:
|
||||||
name: "{{ redis_daemon }}"
|
name: "{{ redis_daemon }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
notify: __redis_restart
|
notify: __redis_restart
|
||||||
|
|
||||||
- name: Ensure Redis is up and running
|
- name: Ensure Redis is up and running
|
||||||
systemd:
|
service:
|
||||||
name: "{{ redis_daemon }}"
|
name: "{{ redis_daemon }}"
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user