zuul-jobs/test-playbooks/ensure-kubernetes/post.yaml
okozachenko c9ef093a5f Add container and pod log in the test for ensure-kubernetes role
Change-Id: I5e9cb0580eac8f695a333ca4d221fcd0a7481a1d
2020-05-26 15:15:48 +03:00

11 lines
295 B
YAML

- hosts: all
roles:
- collect-container-logs
- collect-kubernetes-logs
tasks:
- name: Get minikube logs
become: true
shell: "/tmp/minikube logs > {{ ansible_user_dir }}/zuul-output/logs/minikube.txt"
environment:
MINIKUBE_HOME: "{{ ansible_user_dir }}"