2023-08-23 17:31:22 -04:00
|
|
|
# Copy this to inventory.yml and modify accordingly
|
|
|
|
|
|
|
|
|
|
|
|
# fallback_host is only used during setup before the static IP (local_ip) is configured.
|
2023-08-26 22:02:29 -04:00
|
|
|
# Set fallback_host using `nmap 192.168.0.0/24 -p 22` to find the dynamic IP of your Pi
|
2024-06-16 21:32:52 -04:00
|
|
|
#
|
2023-08-23 17:31:22 -04:00
|
|
|
# local_ip is used after first setup.
|
2024-06-16 21:32:52 -04:00
|
|
|
#
|
|
|
|
# vpn_ip is used for the WireGuard network.
|
2023-08-23 17:31:22 -04:00
|
|
|
|
2023-09-10 21:00:15 -04:00
|
|
|
# Make entries in your .ssh/config for ease of use
|
2023-08-23 17:31:22 -04:00
|
|
|
# Example:
|
|
|
|
#
|
|
|
|
# Host your_fleet_host
|
|
|
|
# HostName 192.168.0.86
|
|
|
|
# Port 2500
|
|
|
|
# IdentityFile ~/.ssh/keys/your_fleet_host
|
|
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
hosts:
|
|
|
|
your_bastion_host:
|
2023-08-26 22:02:29 -04:00
|
|
|
fallback_host: 192.168.0.123
|
2023-08-23 17:31:22 -04:00
|
|
|
local_ip: 192.168.0.3
|
2024-06-16 21:32:52 -04:00
|
|
|
vpn_ip: 10.66.77.1
|
2023-08-23 17:31:22 -04:00
|
|
|
ansible_port: 2500
|
|
|
|
ansible_connection: ssh
|
|
|
|
ansible_ssh_private_key_file: ~/.ssh/keys/your_bastion_host
|
2023-11-11 14:45:32 -05:00
|
|
|
timezone: America/Toronto
|
2023-08-23 17:31:22 -04:00
|
|
|
your_fleet_host:
|
2023-08-26 22:02:29 -04:00
|
|
|
fallback_host: 192.168.0.124
|
2023-08-23 17:31:22 -04:00
|
|
|
local_ip: 192.168.0.86
|
2024-06-16 21:32:52 -04:00
|
|
|
vpn_ip: 10.66.77.86
|
2023-08-23 17:31:22 -04:00
|
|
|
ansible_port: 2500
|
|
|
|
ansible_connection: ssh
|
|
|
|
ansible_ssh_private_key_file: ~/.ssh/keys/your_fleet_host
|
2023-11-11 14:45:32 -05:00
|
|
|
timezone: America/Toronto
|
2023-08-23 17:31:22 -04:00
|
|
|
children:
|
|
|
|
fleet:
|
|
|
|
children:
|
|
|
|
gitea:
|
|
|
|
hosts:
|
|
|
|
your_fleet_host:
|
|
|
|
syncthing:
|
|
|
|
hosts:
|
|
|
|
your_fleet_host:
|
|
|
|
synapse:
|
|
|
|
hosts:
|
|
|
|
your_fleet_host:
|
|
|
|
navidrome:
|
|
|
|
hosts:
|
|
|
|
your_fleet_host:
|
2023-12-09 21:36:36 -05:00
|
|
|
paperless:
|
|
|
|
hosts:
|
|
|
|
your_fleet_host:
|
2023-08-23 17:31:22 -04:00
|
|
|
bastion:
|
|
|
|
children:
|
|
|
|
ddclient:
|
|
|
|
hosts:
|
|
|
|
your_bastion_host:
|
|
|
|
nameserver:
|
|
|
|
hosts:
|
|
|
|
your_bastion_host:
|
|
|
|
caddy:
|
|
|
|
hosts:
|
|
|
|
your_bastion_host:
|
2023-08-23 18:22:50 -04:00
|
|
|
haproxy:
|
|
|
|
hosts:
|
|
|
|
your_bastion_host:
|
2024-06-19 22:51:40 -04:00
|
|
|
your_fleet_host:
|
2024-06-16 15:05:12 -04:00
|
|
|
wireguard:
|
|
|
|
hosts:
|
|
|
|
your_bastion_host:
|
2024-06-16 21:32:52 -04:00
|
|
|
your_fleet_host:
|
2023-08-23 17:31:22 -04:00
|
|
|
sshd:
|
|
|
|
hosts:
|
|
|
|
your_bastion_host:
|
|
|
|
your_fleet_host:
|
2023-09-10 20:56:38 -04:00
|
|
|
mailserver:
|
|
|
|
hosts:
|
|
|
|
your_bastion_host:
|
|
|
|
your_fleet_host:
|
2023-08-23 17:31:22 -04:00
|
|
|
website:
|
|
|
|
hosts:
|
|
|
|
your_bastion_host:
|