diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-11-10 11:27:39 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-11-23 10:37:13 +0100 |
commit | 250df93603c047deb717e5c45c37047fc8a3e302 (patch) | |
tree | 936f0ba6bc0d1365ad4b3a5d89d880bd96698432 /ansible/test | |
parent | b5929c50c4c51fa506b91a4909152fd21278766d (diff) |
[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 <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/test')
-rw-r--r-- | ansible/test/roles/prepare-cert-manager/tasks/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
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" |