Skip to content
Snippets Groups Projects
Unverified Commit 339e36fb authored by Erwan Miran's avatar Erwan Miran Committed by GitHub
Browse files

Files to archive can be passed directly (#5571)

parent 5e648b96
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@
- "{{ my_etcd_node_certs }}"
- name: Gen_certs | Gather node certs
shell: "set -o pipefail && tar cfz - -C {{ etcd_cert_dir }} -T /dev/stdin <<< {{ my_etcd_node_certs|join(' ') }} | base64 --wrap=0"
shell: "set -o pipefail && tar cfz - -C {{ etcd_cert_dir }} {{ my_etcd_node_certs|join(' ') }} | base64 --wrap=0"
args:
executable: /bin/bash
warn: false
......
......@@ -59,7 +59,7 @@
- name: Gen_helm_tiller_certs | Gather helm client certs
# noqa 303 - tar is called intentionally here, but maybe this should be done with the slurp module
shell: "tar cfz - -C {{ helm_home_dir }} -T /dev/stdin <<< {{ helm_client_certs|join(' ') }} | base64 --wrap=0"
shell: "tar cfz - -C {{ helm_home_dir }} {{ helm_client_certs|join(' ') }} | base64 --wrap=0"
args:
executable: /bin/bash
no_log: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment