Switch to dynamic ansible inventory

We don't need to install and use kargo cli anymore.
This commit is contained in:
Aleksandr Didenko
2016-07-08 17:08:09 +02:00
parent e89f4ac7ee
commit 8d3abdb489
4 changed files with 69 additions and 17 deletions

View File

@@ -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