Fix E306 in scripts/ (#6496)
This commit is contained in:
parent
6c41f64a98
commit
91742055e0
1 changed files with 2 additions and 2 deletions
|
@ -112,8 +112,8 @@
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
when: "'etcd' in groups"
|
when: "'etcd' in groups"
|
||||||
|
|
||||||
- name: Storing commands output # noqa 306
|
- name: Storing commands output
|
||||||
shell: "{{ item.cmd }} 2>&1 | tee {{ item.name }}"
|
shell: "{{ item.cmd }} &> {{ item.name }}"
|
||||||
failed_when: false
|
failed_when: false
|
||||||
with_items: "{{ commands }}"
|
with_items: "{{ commands }}"
|
||||||
when: item.when | default(True)
|
when: item.when | default(True)
|
||||||
|
|
Loading…
Reference in a new issue