summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/test/roles/prepare-cert-manager/tasks/main.yml11
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"