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
6fe3f7809e
commit
487d0d1f34
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Restart Prometheus Service
|
||||
systemd:
|
||||
service:
|
||||
name: prometheus
|
||||
state: restarted
|
||||
daemon_reload: yes
|
||||
@ -10,7 +10,7 @@
|
||||
become_user: root
|
||||
|
||||
- name: Reload Prometheus Service
|
||||
systemd:
|
||||
service:
|
||||
name: prometheus
|
||||
state: reloaded
|
||||
listen: __prometheus_reload
|
||||
|
@ -112,7 +112,7 @@
|
||||
notify: __prometheus_restart
|
||||
|
||||
- name: Ensure prometheus service is up and running
|
||||
systemd:
|
||||
service:
|
||||
name: prometheus
|
||||
daemon_reload: yes
|
||||
enabled: yes
|
||||
|
Loading…
Reference in New Issue
Block a user