zuul-operator/playbooks/zuul-operator-functional/post.yaml
Tristan Cacqueray 20f634230d Add initial withCertManager input toggle
This change adds a new input toggle to enable using a cert-manager service.
The operator currently only setup a selfSigned CA.

Change-Id: Ifc63768a87f9508c66e4414d5286bae2969985e7
2020-04-15 00:04:21 +00:00

21 lines
542 B
YAML

- hosts: all
roles:
- collect-container-logs
post_tasks:
- name: Describe resources
command: "bash -c 'kubectl describe {{ item }} > ~/zuul-output/logs/describe-{{ item }}.txt'"
ignore_errors: yes
loop:
- issuer
- certificate
- pods
- deployments
- statefulsets
- services
- secrets
- configmaps
- name: Delete empty container logs
command: "find {{ ansible_user_dir }}/zuul-output/logs/ -type f -empty -delete"
ignore_errors: yes