Ansible/inventory/hosts.yml
2022-06-24 20:38:52 +02:00

46 lines
1.0 KiB
YAML

all:
hosts:
cp:
ansible_host: 10.10.0.64
is_nas: false
hostname: cp
wireguard_ip: 10.20.0.2
outsider:
ansible_host: 51.15.60.240
is_nas: false
hostname: outsider
wireguard_ip: 10.20.0.1
children:
master:
hosts:
cp:
node:
hosts:
outsider:
etcd_cluster:
hosts:
cp:
outsider:
master:
hosts:
cp:
replica:
hosts:
outsider:
postgres_cluster:
children:
master:
replica:
k3s_cluster:
children:
master:
node:
vars:
ansible_ssh_private_key_file: ~/.ssh/creator
ansible_user: creator
ansible_become_password: aberation
ansible_ssh_port: 22
ufw_enabled: false
wireguard_port: 51820
wireguard_mask_bits: 8