Ansible/inventory/hosts.yml

46 lines
1.0 KiB
YAML
Raw Normal View History

all:
hosts:
cp:
ansible_host: 10.10.0.64
is_nas: false
hostname: cp
wireguard_ip: 10.20.0.2
outsider:
2022-06-24 18:38:52 +00:00
ansible_host: 51.15.60.240
is_nas: false
hostname: outsider
wireguard_ip: 10.20.0.1
children:
master:
hosts:
cp:
node:
hosts:
outsider:
2022-06-24 18:38:52 +00:00
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