diff options
Diffstat (limited to 'roles/services/monitoring/prometheus/nginx_exporter/handlers')
-rw-r--r-- | roles/services/monitoring/prometheus/nginx_exporter/handlers/main.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/services/monitoring/prometheus/nginx_exporter/handlers/main.yml b/roles/services/monitoring/prometheus/nginx_exporter/handlers/main.yml new file mode 100644 index 0000000..fe9a90d --- /dev/null +++ b/roles/services/monitoring/prometheus/nginx_exporter/handlers/main.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | - name: restart nginx | ||
2 | service: | ||
3 | name: nginx | ||
4 | state: restarted | ||
5 | |||
6 | - name: restart nginx-exporter | ||
7 | service: | ||
8 | name: prometheus-nginx-exporter | ||
9 | state: started | ||