From 250df93603c047deb717e5c45c37047fc8a3e302 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Wed, 10 Nov 2021 11:27:39 +0100 Subject: [MOLECULE] Add prepare-cert-manager role Its purpose is to setup container for cert-manager role testing. Change-Id: Iae7db9d46f9aff02c388c93f02dd0d59bbcac46d Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski --- ansible/test/roles/prepare-cert-manager/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ansible/test/roles/prepare-cert-manager/tasks/main.yml (limited to 'ansible/test') diff --git a/ansible/test/roles/prepare-cert-manager/tasks/main.yml b/ansible/test/roles/prepare-cert-manager/tasks/main.yml new file mode 100644 index 00000000..add49051 --- /dev/null +++ b/ansible/test/roles/prepare-cert-manager/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 cert-manager-v{{ cert_manager_version }}.tgz" + get_url: + url: "https://charts.jetstack.io/charts/cert-manager-v{{ cert_manager_version }}.tgz" + dest: "{{ app_data_path }}/downloads" -- cgit 1.2.3-korg