Install k8s control plane

This commit is contained in:
Paul-Henri Froidmont 2018-07-22 23:10:38 +02:00
parent 92682a8360
commit 010c48b243
11 changed files with 111 additions and 92 deletions

View file

@ -0,0 +1,6 @@
#!/bin/bash
apt-get update
apt-get install software-properties-common
apt-add-repository ppa:ansible/ansible -y
apt-get update
apt-get install ansible -y

4
scripts/rsync-and-run.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
DIRECTORY=`dirname $0`
cd DIRECTORY/..
rsync -avzhe ssh --delete --exclude=.* ./ root@163.172.145.22:/root/ansible && ssh -t root@163.172.145.22 "cd ansible && $1"