Homelab/ansible/inventory/hosts.yml
2026-04-30 12:07:23 +02:00

40 lines
798 B
YAML

all:
vars:
ansible_python_interpreter: /usr/bin/python3
# User admin a creer sur toutes les VMs
admin_user: Elewyn
# IP du NAS QNAP pour les montages NFS
nas_ip: 192.168.1.208
children:
gateway:
hosts:
vm-gateway:
ansible_host: 192.168.1.254
forgejo:
hosts:
vm-forgejo:
ansible_host: 192.168.1.50
nextcloud:
hosts:
vm-nextcloud:
ansible_host: 192.168.1.51
tools:
hosts:
vm-tools:
ansible_host: 192.168.1.52
runner:
hosts:
vm-runner:
ansible_host: 192.168.1.53
vps:
hosts:
vps-gateway:
ansible_host: 51.158.126.113
ansible_user: Elewyn
ansible_ssh_private_key_file: ~/.ssh/homelab