diff options
Diffstat (limited to 'ansible/roles/kube-prometheus-stack/tasks')
-rw-r--r-- | ansible/roles/kube-prometheus-stack/tasks/main.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ansible/roles/kube-prometheus-stack/tasks/main.yml b/ansible/roles/kube-prometheus-stack/tasks/main.yml index e190b758..08629e38 100644 --- a/ansible/roles/kube-prometheus-stack/tasks/main.yml +++ b/ansible/roles/kube-prometheus-stack/tasks/main.yml @@ -10,10 +10,11 @@ dest: "{{ kube_prometheus_stack.helm_values_file }}" content: "{{ kube_prometheus_stack.helm_values | combine(kube_prometheus_helm_values | default({}), recursive=True) | to_nice_yaml }}" -- name: Upload custom Grafana dashboard +- name: Upload Grafana dashboards copy: - src: grafana_dashboard.json - dest: "{{ nfs_mount_path }}/kube-prometheus/kube-prometheus-grafana/dashboards/custom/" + src: "{{ item.src }}" + dest: "{{ item.dest }}" + loop: "{{ kube_prometheus_stack.grafana_dashboards }}" - name: "Install Helm release {{ kube_prometheus_stack.helm_release_name }}" community.kubernetes.helm: |