1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Ensure openshift dependency is also installed on test runner (#42582)

This commit is contained in:
Fabian von Feilitzsch 2018-07-10 10:54:31 -04:00 committed by Adam Miller
parent ef67f580cc
commit c0c8766903

View file

@ -2,6 +2,11 @@
pip: pip:
name: openshift name: openshift
- name: Install requirements on localhost
pip:
name: openshift
delegate_to: localhost
# TODO: This is the only way I could get the kubeconfig, I don't know why. Running the lookup outside of debug seems to return an empty string # TODO: This is the only way I could get the kubeconfig, I don't know why. Running the lookup outside of debug seems to return an empty string
- debug: msg={{ lookup('env', 'K8S_AUTH_KUBECONFIG') }} - debug: msg={{ lookup('env', 'K8S_AUTH_KUBECONFIG') }}
register: kubeconfig register: kubeconfig