Maxime Guyot
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
scripts/collect-info.yaml
|
|
@ -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) |
|
|
|