VTWO-14496: configure nodes with ansible instead of bash scripts

This commit is contained in:
mbenabda
2019-06-27 18:53:09 +02:00
parent e505bac08a
commit de0fa7e688
26 changed files with 239 additions and 241 deletions

16
scripts/install_etcd Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
ETCD3_RELEASE_VERSION=$1
pushd /tmp &> /dev/null
curl -sL "https://github.com/etcd-io/etcd/releases/download/$ETCD3_RELEASE_VERSION/etcd-$ETCD3_RELEASE_VERSION-linux-amd64.tar.gz" | tar -zxf -
mv etcd-$ETCD3_RELEASE_VERSION-linux-amd64/etcd /usr/bin/
mv etcd-$ETCD3_RELEASE_VERSION-linux-amd64/etcdctl /usr/bin/
rm -rf etcd*
touch .install_etcd
popd &> /dev/null