refactor: use generic ansible modules service and package
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-06-05 15:30:40 +02:00
parent 23ada42b02
commit b91d2e7f7d
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
---
- name: Restart Redis
systemd:
service:
name: "{{ redis_daemon }}"
state: restarted
daemon_reload: yes

View File

@ -20,7 +20,7 @@
notify: __redis_restart
- name: Ensure Redis is up and running
systemd:
service:
name: "{{ redis_daemon }}"
daemon_reload: yes
enabled: yes