Ansible/inventory/hosts.yml

37 lines
924 B
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:
ansible_host: 51.15.109.2
is_nas: false
hostname: outsider
wireguard_ip: 10.20.0.1
local:
ansible_connection: local
ansible_host: 127.0.0.1
is_local: true
wireguard_ip: 10.20.0.3
children:
master:
hosts:
cp:
node:
hosts:
outsider:
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