mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 03:43:09 +00:00
8734f607db
Signed-off-by: gardar <gardar@users.noreply.github.com>
15 lines
380 B
YAML
15 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
|