5b6fa1ec03
Depends-On: https://review.opendev.org/#/c/709328/ Implements: blueprint add-support-cri-runtime Change-Id: Id907628e8629d2bb8447f62e96e0018f3232e08f
12 lines
386 B
YAML
12 lines
386 B
YAML
- name: Ensure {{ ansible_user_dir }}/logs exists
|
|
become: True
|
|
file:
|
|
path: "{{ ansible_user_dir }}/logs"
|
|
state: directory
|
|
owner: "{{ ansible_user }}"
|
|
- name: Copy over containerd systemd unit journals
|
|
shell:
|
|
cmd: |
|
|
sudo journalctl -o short-precise --unit containerd | sudo tee {{ ansible_user_dir }}/logs/containerd.txt > /dev/null
|
|
executable: /bin/bash
|