Add node001

This commit is contained in:
Tobias Reisinger 2024-10-14 03:30:59 +02:00
parent e68f2f2cec
commit 822ec5fcb7
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 69 additions and 16 deletions
inventory

View file

@ -20,7 +20,6 @@ container_registry:
services_path: /opt/services/
common_services:
- always
- backup
- lego
- caddy

View file

@ -2,12 +2,26 @@ all:
children:
serguzim_net:
hosts:
node001:
node002:
node003:
hosts:
local-dev:
ansible_connection: local
node001:
ansible_host: "{{ opentofu.hosts.node001.fqdn_vpn }}"
ansible_port: "{{ vault_hosts.node001.ansible_port }}"
ansible_user: "{{ vault_hosts.node001.ansible_user }}"
interactive_user: "{{ vault_hosts.node001.interactive_user }}"
host_vpn:
domain: "{{ opentofu.hosts.node001.fqdn_vpn }}"
ip: "{{ opentofu.hosts.node001.ipv4_address_vpn }}"
host_backup:
hc_uid: "{{ opentofu.healthchecksio.backup.node001.id }}"
hc_url: "{{ opentofu.healthchecksio.backup.node001.ping_url }}"
gatus_token: "{{ vault_hosts.node001.backup.gatus_token }}"
node002:
ansible_host: "{{ opentofu.hosts.node002.fqdn_vpn }}"
ansible_port: "{{ vault_hosts.node002.ansible_port }}"