blob: 4ddf3deebe27d120c2a837e7460e3ff7568220ac [file] [log] [blame]
Jan Kundrát4d40a682023-01-13 16:33:05 +01001- name: Create logs directory
2 file:
3 path: "{{ ansible_user_dir }}/zuul-output/logs"
4 state: directory
5 mode: 0755
6
7- name: Save system journal
8 shell: "journalctl -b &> {{ ansible_user_dir }}/zuul-output/logs/journal.txt"
9 args:
10 executable: /bin/bash
11 become: yes
12 failed_when: false