blob: 4ddf3deebe27d120c2a837e7460e3ff7568220ac [file] [log] [blame]
- name: Create logs directory
file:
path: "{{ ansible_user_dir }}/zuul-output/logs"
state: directory
mode: 0755
- name: Save system journal
shell: "journalctl -b &> {{ ansible_user_dir }}/zuul-output/logs/journal.txt"
args:
executable: /bin/bash
become: yes
failed_when: false