ansible update

This commit is contained in:
royalcat 2025-03-24 03:55:07 +04:00
parent ec3f4e6ff3
commit 77d1bafabc
3 changed files with 16 additions and 9 deletions
.ansible

View file

@ -5,19 +5,26 @@ k3s_cluster:
ansible_host: 130.61.173.37
k3s_control_node: true
k3s_server:
# 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"
advertise-address: "130.61.173.37"
node-external-ip: "130.61.173.37"
tls-san:
- "130.61.173.37"
k3s_server_config_yaml_d_files:
- ./k3s-configs-templates/kubeconfig.yaml
- ./k3s-configs-templates/vpn-auth.yaml
murino-worker-1:
# murino-worker-1:
# ansible_user: root
# ansible_host: 192.168.220.17
# k3s_state: uninstalled
# k3s_agent:
# vpn-auth: "name=tailscale,controlServerURL=https://headscale.kmsign.ru,joinKey=68f87d4350aa0059d7edf9a027c7b0b3a15a027bc1651fbd,extraArgs=--advertise-tags=tag:cloud-cluster"
murino-worker-2:
ansible_user: root
ansible_host: 192.168.220.17
k3s_agent:
vpn-auth: "name=tailscale,controlServerURL=https://headscale.kmsign.ru,joinKey=544cd542cee22ea076d01c2d87b9cc606525b31fe966b168,extraArgs=--advertise-tags=tag:cloud-cluster"
ansible_host: 192.168.220.18
k3s_agent_config_yaml_d_files:
- ./k3s-configs-templates/vpn-auth.yaml
# kube-2:
# ansible_host: 152.70.184.40
@ -27,5 +34,3 @@ k3s_cluster:
ansible_port: 22
ansible_user: ubuntu
ansible_python_interpreter: /usr/bin/python3
k3s_server:
write-kubeconfig-mode: 777

View file

@ -0,0 +1 @@
write-kubeconfig-mode: 777

View file

@ -0,0 +1 @@
vpn-auth: "name=tailscale,controlServerURL=https://headscale.kmsign.ru,joinKey=68f87d4350aa0059d7edf9a027c7b0b3a15a027bc1651fbd,extraArgs=--advertise-tags=tag:cloud-cluster"