add k3s token

This commit is contained in:
chris 2019-12-18 19:18:58 +01:00
parent 936219a1a3
commit 638014a6ae
3 changed files with 4 additions and 0 deletions

2
generate-k3s-token.sh Executable file
View File

@ -0,0 +1,2 @@
cd group_vars
sed -i "s#^k3s_token.*#k3s_token: $(pwgen 32 1)#" cluster.yaml

1
group_vars/cluster.yaml Normal file
View File

@ -0,0 +1 @@
k3s_token: aibahrighaemaeshi2Dahgu9Ahquoo0c

View File

@ -1,3 +1,4 @@
[cluster]
node01 ansible_ssh_user=root ansible_ssh_host=78.47.49.236
node02 ansible_ssh_user=root ansible_ssh_host=78.46.186.206
node03 ansible_ssh_user=root ansible_ssh_host=78.47.122.172