Compare commits
3 Commits
f84149991e
...
5d9b9f68f6
Author | SHA1 | Date |
---|---|---|
chris | 5d9b9f68f6 | |
chris | 638014a6ae | |
chris | 936219a1a3 |
|
@ -0,0 +1,3 @@
|
|||
*.retry
|
||||
host_vars/*yaml
|
||||
group_vars/cluster.yaml
|
|
@ -9,7 +9,7 @@
|
|||
local requirements: wireguard-tools, yq, jq, ansible
|
||||
|
||||
* adapt inventory.yaml (use external IPs!)
|
||||
* run ./generate-keys.sh to generate your wireguard keys
|
||||
* run ./generate-keys.sh and ./generate-k3s-token.sh to generate your keys
|
||||
* do NOT commit your wireguard keys to git, or use ansible-vault
|
||||
|
||||
## deploy
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
cd group_vars
|
||||
sed -i "s#^k3s_token.*#k3s_token: $(pwgen 32 1)#" cluster.yaml
|
|
@ -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 New Issue