36 lines
1 KiB
YAML
36 lines
1 KiB
YAML
---
|
|
k3s_cluster:
|
|
hosts:
|
|
oracle-master-1:
|
|
ansible_host: 130.61.173.37
|
|
k3s_control_node: true
|
|
k3s_server:
|
|
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:
|
|
# 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.18
|
|
k3s_agent_config_yaml_d_files:
|
|
- ./k3s-configs-templates/vpn-auth.yaml
|
|
|
|
# kube-2:
|
|
# ansible_host: 152.70.184.40
|
|
# k3s_state: uninstalled
|
|
|
|
vars:
|
|
ansible_port: 22
|
|
ansible_user: ubuntu
|
|
ansible_python_interpreter: /usr/bin/python3
|