mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-29 23:30:18 +00:00
16 lines
380 B
YAML
16 lines
380 B
YAML
|
---
|
||
|
- name: "Restart {{ _common_service_name }}"
|
||
|
# listen: "restart_service"
|
||
|
become: true
|
||
|
ansible.builtin.service:
|
||
|
daemon_reload: true
|
||
|
name: "{{ _common_service_name }}"
|
||
|
state: restarted
|
||
|
|
||
|
- name: "Reload {{ _common_service_name }}"
|
||
|
# listen: "reload_service"
|
||
|
become: true
|
||
|
ansible.builtin.service:
|
||
|
name: "{{ _common_service_name }}"
|
||
|
state: reloaded
|