Fix service logs collection

It's broken because wrong identation.

Change-Id: Ibe2e0204492013fb6b6ba67778f3633d45cfe53e
This commit is contained in:
Sagi Shnaidman 2017-02-08 21:00:56 +02:00
parent 96b94395a1
commit 0486042bca
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: >