diff --git a/defaults/main.yml b/defaults/main.yml index dbdd61b..4da6bdc 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -15,3 +15,4 @@ service_grafana_admin_user: "" service_grafana_admin_password: "" service_grafana_client_id: "CLIENT_ID" service_grafana_client_secret: "CLIENT_SECRET" +service_grafana_image: "dodasts/monitoring-grafana:v1.0.1-monitoring" diff --git a/tasks/grafana.yml b/tasks/grafana.yml index 5268758..025e06b 100644 --- a/tasks/grafana.yml +++ b/tasks/grafana.yml @@ -60,7 +60,7 @@ key_value: "yes" grafana_service: | grafana: - image: {{ grafana_image }} + image: {{ service_grafana_image }} container_name: monitoring_grafana depends_on: - prometheus diff --git a/vars/main.yml b/vars/main.yml index bceda46..822111d 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -4,5 +4,4 @@ nvidia_monitoring: "" nvidia_depends: "" prometheus_nvidia: "" grafana_service: "" -grafana_image: "dodasts/monitoring-grafana:v1.0.1-monitoring" service_grafana_disable_admin_creation: true