Fix E306 in scripts/ (#6496)

This commit is contained in:
Maxime Guyot 2020-08-05 10:56:28 +02:00 committed by GitHub
parent 6c41f64a98
commit 91742055e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,8 +112,8 @@
{%- endfor %}
when: "'etcd' in groups"
- name: Storing commands output # noqa 306
shell: "{{ item.cmd }} 2>&1 | tee {{ item.name }}"
- name: Storing commands output
shell: "{{ item.cmd }} &> {{ item.name }}"
failed_when: false
with_items: "{{ commands }}"
when: item.when | default(True)