zuul-jobs/test-playbooks/registry/buildset-registry-k8s-crio-post.yaml
Clark Boylan 8d4f01b74a Cleanup remaining Ansible lint warnings
Make it easier for people to see lint errors by cleaning up the
remaining lint warnings.

Change-Id: I2b614b19f5dccd1aa2ad568ff31acabc9b87c383
2024-09-18 16:46:00 -07:00

20 lines
727 B
YAML

- hosts: all
tasks:
- name: Fetch cri-o logs
become: true
shell: |
ZUUL_LOG_DIR={{ ansible_user_dir }}/zuul-output/logs
cp /etc/resolv.conf ${ZUUL_LOG_DIR}
mkdir -p ${ZUUL_LOG_DIR}/containerd
cp -r /etc/containers ${ZUUL_LOG_DIR}/containerd
mkdir -p ${ZUUL_LOG_DIR}/cri-o
systemctl status crio > ${ZUUL_LOG_DIR}/cri-o/systemctl-status.txt
journalctl -u crio > ${ZUUL_LOG_DIR}/cri-o/journalctl-u.txt
failed_when: no
- name: Describe dockertest pod
command: kubectl describe pod/quaytest
failed_when: false
- name: Describe upstream-dockertest pod
command: kubectl describe pod/upstream-dockertest
failed_when: false