From 07a75bd62a4380c383e2589bed4976959a4f20b5 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Wed, 2 Jun 2021 12:27:07 +0200 Subject: [MOLECULE] Add prepare-kube-prometheus-stack role Change-Id: I03d96d7ee3a36883deb9939c2dcfec9d8bdf6db3 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski --- .../test/roles/prepare-kube-prometheus-stack/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ansible/test/roles/prepare-kube-prometheus-stack/tasks/main.yml diff --git a/ansible/test/roles/prepare-kube-prometheus-stack/tasks/main.yml b/ansible/test/roles/prepare-kube-prometheus-stack/tasks/main.yml new file mode 100644 index 00000000..3d472c2e --- /dev/null +++ b/ansible/test/roles/prepare-kube-prometheus-stack/tasks/main.yml @@ -0,0 +1,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" -- cgit 1.2.3-korg