ansible longhorn packages, external ip
This commit is contained in:
parent
75eb90b51d
commit
ec3f4e6ff3
2 changed files with 8 additions and 0 deletions
.ansible
|
@ -5,6 +5,13 @@
|
||||||
# - role: artis3n.tailscale.device
|
# - role: artis3n.tailscale.device
|
||||||
# vars:
|
# vars:
|
||||||
# tailscale_up_skip: true
|
# tailscale_up_skip: true
|
||||||
|
- name: Prepare host for longhorn
|
||||||
|
hosts: k3s_cluster
|
||||||
|
tasks:
|
||||||
|
- name: Install packages
|
||||||
|
ansible.builtin.apt:
|
||||||
|
pkg: [open-iscsi, nfs-common, cryptsetup]
|
||||||
|
|
||||||
- name: Build a cluster
|
- name: Build a cluster
|
||||||
hosts: k3s_cluster
|
hosts: k3s_cluster
|
||||||
vars:
|
vars:
|
||||||
|
|
|
@ -9,6 +9,7 @@ k3s_cluster:
|
||||||
write-kubeconfig-mode: 777
|
write-kubeconfig-mode: 777
|
||||||
vpn-auth: "name=tailscale,controlServerURL=https://headscale.kmsign.ru,joinKey=544cd542cee22ea076d01c2d87b9cc606525b31fe966b168,extraArgs=--advertise-tags=tag:cloud-cluster"
|
vpn-auth: "name=tailscale,controlServerURL=https://headscale.kmsign.ru,joinKey=544cd542cee22ea076d01c2d87b9cc606525b31fe966b168,extraArgs=--advertise-tags=tag:cloud-cluster"
|
||||||
advertise-address: "130.61.173.37"
|
advertise-address: "130.61.173.37"
|
||||||
|
node-external-ip: "130.61.173.37"
|
||||||
tls-san:
|
tls-san:
|
||||||
- "130.61.173.37"
|
- "130.61.173.37"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue