diff options
author | Sam Chudnick <sam@chudnick.com> | 2023-06-25 09:52:36 -0400 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2023-06-25 09:52:36 -0400 |
commit | 95b73daa36b23565a8566f71f9b202d3459b685f (patch) | |
tree | cb17b021be70e7868d0ec235a761f0ecdc80f3f2 /roles/services/monitoring/grafana/handlers |
Diffstat (limited to 'roles/services/monitoring/grafana/handlers')
-rw-r--r-- | roles/services/monitoring/grafana/handlers/main.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/services/monitoring/grafana/handlers/main.yml b/roles/services/monitoring/grafana/handlers/main.yml new file mode 100644 index 0000000..8026c6d --- /dev/null +++ b/roles/services/monitoring/grafana/handlers/main.yml | |||
@@ -0,0 +1,13 @@ | |||
1 | - name: update repos | ||
2 | apt: | ||
3 | update_cache: yes | ||
4 | |||
5 | - name: restart grafana | ||
6 | service: | ||
7 | name: grafana-server | ||
8 | state: restarted | ||
9 | |||
10 | - name: restart nginx | ||
11 | service: | ||
12 | name: nginx | ||
13 | state: restarted | ||