diff --git a/roles/capture-system-logs/tasks/main.yaml b/roles/capture-system-logs/tasks/main.yaml index cd8f4f0eab..de4f8eda08 100644 --- a/roles/capture-system-logs/tasks/main.yaml +++ b/roles/capture-system-logs/tasks/main.yaml @@ -1,6 +1,7 @@ # TODO(andreaf) Make this into proper Ansible - name: Stage various logs and reports shell: + executable: /bin/bash cmd: | sudo iptables-save > {{ stage_dir }}/iptables.txt df -h > {{ stage_dir }}/df.txt