Skip to content

Commit

Permalink
fix(monitoring): use grafana.grafana instead of deprecated role (#122)
Browse files Browse the repository at this point in the history
Co-authored-by: Gauthier Leonard <[email protected]>
  • Loading branch information
Al3xGROS and Nuttymoon authored Feb 15, 2024
1 parent b761c94 commit 343fd33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions playbooks/install_monitoring_stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
hosts: grafana
become: true
roles:
- role: cloudalchemy.grafana
- role: grafana.grafana.grafana

- name: Import templated Grafana dashboard
hosts: grafana
Expand All @@ -32,7 +32,7 @@
mode: 0640
loop:
- "{{ playbook_dir }}/../files/dashboards/subnets.json.j2"
when: grafana_subnets_dashboard_variables is defined
when: (grafana_subnets_dashboard_variables | default([]) | length) > 0
register: template_subnets

- name: Restart Grafana
Expand Down
4 changes: 2 additions & 2 deletions requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
collections:
- name: prometheus.prometheus
version: 0.4.0
- name: grafana.grafana
version: 2.2.5

roles:
- name: geerlingguy.docker
version: 6.1.0
- name: cloudalchemy.grafana
version: 0.18.0

0 comments on commit 343fd33

Please sign in to comment.