mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-18 03:30:07 -03:30
Switch to dynamic ansible inventory
We don't need to install and use kargo cli anymore.
This commit is contained in:
@@ -12,17 +12,11 @@ ansible --version || (
|
||||
apt-get install -y ansible
|
||||
)
|
||||
|
||||
# Kargo-cli
|
||||
kargo --version || (
|
||||
git clone https://github.com/kubespray/kargo-cli.git /root/kargo-cli
|
||||
pushd /root/kargo-cli
|
||||
python setup.py install
|
||||
popd
|
||||
)
|
||||
|
||||
# Copy/create nodes list
|
||||
test -f ./nodes || cp /var/tmp/nodes ./nodes
|
||||
|
||||
# Either pull or copy microservices repos
|
||||
cp -a /var/tmp/microservices* ./ccp/ || touch /var/tmp/ccp-download
|
||||
|
||||
# Pull kargo
|
||||
git clone https://github.com/kubespray/kargo ~/kargo
|
||||
|
||||
Reference in New Issue
Block a user