mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
requirements-$ANSIBLE_VERSION.yml doesn't exist in Kubespray repo. That was for supporting ansible 2.10-, and now Kubespray supports 2.11+. So this drops the part to avoid confusion.
12 lines
302 B
Bash
Executable File
12 lines
302 B
Bash
Executable File
#!/bin/bash
|
|
set -euxo pipefail
|
|
|
|
: ${ANSIBLE_MAJOR_VERSION:=2.12}
|
|
|
|
/usr/bin/python -m pip uninstall -y ansible ansible-base ansible-core
|
|
/usr/bin/python -m pip install -r tests/requirements-${ANSIBLE_MAJOR_VERSION}.txt
|
|
mkdir -p /.ssh
|
|
mkdir -p cluster-dump
|
|
mkdir -p $HOME/.ssh
|
|
ansible-playbook --version
|