diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-05-26 21:34:14 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-07-17 21:51:22 +0200 |
commit | 695131994b5a749e129fb304e8ba709acd37afe8 (patch) | |
tree | 02111746a1cd0cfc31c5736170b12aafadcb771e /roles/monitoring/prometheus/exporter/chrony/handlers/main.yml | |
parent | make textfile collector for apt packages configurable (diff) |
add support for chrony_exporter (replaces textfile collector)
Diffstat (limited to 'roles/monitoring/prometheus/exporter/chrony/handlers/main.yml')
-rw-r--r-- | roles/monitoring/prometheus/exporter/chrony/handlers/main.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/monitoring/prometheus/exporter/chrony/handlers/main.yml b/roles/monitoring/prometheus/exporter/chrony/handlers/main.yml new file mode 100644 index 00000000..0c940ca9 --- /dev/null +++ b/roles/monitoring/prometheus/exporter/chrony/handlers/main.yml @@ -0,0 +1,15 @@ +--- +- name: restart prometheus-chrony-exporter + service: + name: prometheus-chrony-exporter + state: restarted + +- name: reload nginx + service: + name: nginx + state: reloaded + +### TODO: remove this once all hosts have been migrated +- name: reload systemd + systemd: + daemon_reload: yes |