zuul-base-jobs/playbooks/base/post.yaml

10 lines
215 B
YAML

- hosts: all
tasks:
- include_role:
name: fetch-output
when: ansible_connection != "kubectl"
- include_role:
name: fetch-output-openshift
when: ansible_connection == "kubectl"