summaryrefslogtreecommitdiff
path: root/test/integration/targets/k8s
diff options
context:
space:
mode:
authorFabian von Feilitzsch <fabian@fabianism.us>2018-07-10 10:54:31 -0400
committerAdam Miller <admiller@redhat.com>2018-07-10 09:54:31 -0500
commitc0c8766903139830bae5b56cfa636af766d57268 (patch)
tree47c678ee36320ed5b369817fbbaf8078a3c6cf9e /test/integration/targets/k8s
parentef67f580cc54a4a6a71c41dd3911f427c4613de8 (diff)
downloadansible-c0c8766903139830bae5b56cfa636af766d57268.tar.gz
Ensure openshift dependency is also installed on test runner (#42582)
Diffstat (limited to 'test/integration/targets/k8s')
-rw-r--r--test/integration/targets/k8s/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/targets/k8s/tasks/main.yml b/test/integration/targets/k8s/tasks/main.yml
index 648b4fad54..f3e542be79 100644
--- a/test/integration/targets/k8s/tasks/main.yml
+++ b/test/integration/targets/k8s/tasks/main.yml
@@ -2,6 +2,11 @@
pip:
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
- debug: msg={{ lookup('env', 'K8S_AUTH_KUBECONFIG') }}
register: kubeconfig