add k3s token
This commit is contained in:
parent
936219a1a3
commit
638014a6ae
3 changed files with 4 additions and 0 deletions
2
generate-k3s-token.sh
Executable file
2
generate-k3s-token.sh
Executable 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
1
group_vars/cluster.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
k3s_token: aibahrighaemaeshi2Dahgu9Ahquoo0c
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue