2 # before custom specific code is executed we need to move helm charts to infra
3 - name: Distribute helm charts to infra node
5 - name: Archive helm charts
6 command: tar -cvzf {{ app_helm_charts_install_directory }}.tgz -C {{ app_helm_charts_install_directory }} .
10 - skip_ansible_lint # Prevent '[303] tar used in place of unarchive module'
11 delegate_to: localhost
12 - name: Create helm charts dir on infra
14 path: "{{ app_helm_charts_infra_directory }}"
17 - name: Unarchive helm charts on infra node
19 src: "{{ app_helm_charts_install_directory }}.tgz"
20 dest: "{{ app_helm_charts_infra_directory }}"
21 tags: molecule-idempotence-notest
23 - include_tasks: install-helm-plugins.yml