Use ensure-pip role to unblock the CI
This change ensures the pip tool is installed as it is no longer provided by the OpenDev test instance. Change-Id: Ie9ebf946fbf847f5574c3e140f43bdb1c9949137
This commit is contained in:
parent
ae56155d26
commit
0fbffe66f2
|
@ -1,10 +1,8 @@
|
|||
- name: start kubernetes and install all dependencies
|
||||
hosts: all
|
||||
pre_tasks:
|
||||
- name: Install openshift client for k8s tasks
|
||||
command: python3 -m pip install --user openshift
|
||||
roles:
|
||||
- role: clear-firewall
|
||||
- role: ensure-pip
|
||||
- role: ensure-podman
|
||||
- role: ensure-kubernetes
|
||||
vars:
|
||||
|
@ -14,6 +12,8 @@
|
|||
- role: use-buildset-registry
|
||||
buildset_registry_docker_user: root
|
||||
post_tasks:
|
||||
- name: Install openshift client for k8s tasks
|
||||
command: python3 -m pip install --user openshift
|
||||
- name: check kubernetes connection
|
||||
command: timeout 10s kubectl get pods
|
||||
register: _api_ready
|
||||
|
|
Loading…
Reference in New Issue