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:30 +02:00
parent 1b8d685bb2
commit 841f32d3c0
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
---
- name: Restart Alertmanager Service
systemd:
service:
name: alertmanager
state: restarted
daemon_reload: yes

View File

@ -75,7 +75,7 @@
notify: __alertmanager_restart
- name: Ensure alertmanager service is up and running
systemd:
service:
name: alertmanager
daemon_reload: yes
enabled: yes