summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/application/tasks/transfer-helm-charts.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/ansible/roles/application/tasks/transfer-helm-charts.yml b/ansible/roles/application/tasks/transfer-helm-charts.yml
index 5e4240b6..56c95cc4 100644
--- a/ansible/roles/application/tasks/transfer-helm-charts.yml
+++ b/ansible/roles/application/tasks/transfer-helm-charts.yml
@@ -3,9 +3,12 @@
- name: Distribute helm charts to infra node
block:
- name: Archive helm charts
- archive:
- path: "{{ app_helm_charts_install_directory }}/*"
- dest: "{{ app_helm_charts_install_directory }}.tgz"
+ command: tar -cvzf {{ app_helm_charts_install_directory }}.tgz -C {{ app_helm_charts_install_directory }} .
+ args:
+ warn: false
+ tags:
+ - skip_ansible_lint # Prevent '[303] tar used in place of unarchive module'
+ changed_when: false # for idempotency
delegate_to: localhost
- name: Create helm charts dir on infra
file: