diff --git a/roles/collect-logs/tasks/collect.yml b/roles/collect-logs/tasks/collect.yml index 168b286..e9527d4 100644 --- a/roles/collect-logs/tasks/collect.yml +++ b/roles/collect-logs/tasks/collect.yml @@ -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: >