ansible longhorn packages, external ip

This commit is contained in:
royalcat 2025-03-19 22:20:39 +04:00
parent 75eb90b51d
commit ec3f4e6ff3
2 changed files with 8 additions and 0 deletions

View file

@ -5,6 +5,13 @@
# - role: artis3n.tailscale.device
# vars:
# 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
hosts: k3s_cluster
vars:

View file

@ -9,6 +9,7 @@ k3s_cluster:
write-kubeconfig-mode: 777
vpn-auth: "name=tailscale,controlServerURL=https://headscale.kmsign.ru,joinKey=544cd542cee22ea076d01c2d87b9cc606525b31fe966b168,extraArgs=--advertise-tags=tag:cloud-cluster"
advertise-address: "130.61.173.37"
node-external-ip: "130.61.173.37"
tls-san:
- "130.61.173.37"