summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-kube-prometheus-stack/tasks/main.yml
blob: 3d472c2ee26d2acbf65ab6c86c2db9f8a51b563c (plain)
1
2
3
4
5
6
7
8
9
10
11
---
- name: "Ensure {{ app_data_path }}/downloads directory exists"
  file:
    path: "{{ app_data_path }}/downloads"
    recurse: true
    state: directory

- name: "Download kube-prometheus-stack-{{ kube_prometheus_stack_version }}.tgz"
  get_url:
    url: "https://github.com/prometheus-community/helm-charts/releases/download/kube-prometheus-stack-{{ kube_prometheus_stack_version }}/kube-prometheus-stack-{{ kube_prometheus_stack_version }}.tgz"
    dest: "{{ app_data_path }}/downloads"