Merge "Fix service logs collection"

This commit is contained in:
Jenkins 2017-02-08 21:54:00 +00:00 committed by Gerrit Code Review
commit 7aa0d90b29
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
- name: Collect logs from all failed systemd services
shell: >
systemctl -t service --failed --no-legend | awk '{print $1}'
| xargs -r -n1 journalctl -u > /var/log/extra/services.txt 2>&1
| xargs -r -n1 journalctl -u > /var/log/extra/services.txt 2>&1
- name: Collect network status info
shell: >