Fix E306 in roles/etcd (#6515)

This commit is contained in:
Maxime Guyot
2020-08-31 12:20:20 +02:00
committed by GitHub
parent 058438a25d
commit 648fcf3a2e
4 changed files with 26 additions and 14 deletions

View File

@@ -139,8 +139,8 @@
inventory_hostname in groups['k8s-cluster']) and
sync_certs|default(false) and inventory_hostname not in groups['etcd']
- name: Gen_certs | Copy certs on nodes # noqa 306
shell: "base64 -d <<< '{{ etcd_node_certs.stdout|quote }}' | tar xz -C {{ etcd_cert_dir }}"
- name: Gen_certs | Copy certs on nodes
shell: "set -o pipefail && base64 -d <<< '{{ etcd_node_certs.stdout|quote }}' | tar xz -C {{ etcd_cert_dir }}"
args:
executable: /bin/bash
no_log: true