infra/home/ansible/inventory.yml
2025-09-06 12:46:26 -05:00

49 lines
No EOL
1.5 KiB
YAML

all:
children:
proxmox:
hosts:
lab02:
ansible_host: 10.0.16.231
lab03:
ansible_host: 10.0.16.232
lab04:
ansible_host: 10.0.16.233
vars:
ansible_user: root
ansible_python_interpreter: /usr/bin/python3
k3s_cluster:
children:
k3s_control:
hosts:
home-k3s-control-1:
ansible_host: 10.0.19.100
k3s_control_node: true
home-k3s-control-2:
ansible_host: 10.0.19.101
k3s_control_node: true
home-k3s-control-3:
ansible_host: 10.0.19.102
k3s_control_node: true
k3s_workers:
hosts:
home-k3s-worker-1:
ansible_host: 10.0.19.110
home-k3s-worker-2:
ansible_host: 10.0.19.111
home-k3s-worker-3:
ansible_host: 10.0.19.112
vars:
ansible_user: debian
ansible_ssh_private_key_file: "~/.ssh/id_rsa"
ansible_python_interpreter: /usr/bin/python3
ansible_ssh_common_args: "-o StrictHostKeyChecking=no"
k3s_version: v1.28.5+k3s1
caddy_servers:
hosts:
caddy:
ansible_host: 204.110.191.212
vars:
ansible_user: ansible # Now using ansible user after bootstrap
ansible_ssh_private_key_file: "~/.ssh/ansible"
ansible_python_interpreter: /usr/bin/python3
ansible_ssh_common_args: "-o StrictHostKeyChecking=no"