From d2e8ce40d04101fe36231c2283acb91c64c1900e Mon Sep 17 00:00:00 2001 From: DerLinkman Date: Sat, 18 Jul 2026 00:07:42 +0200 Subject: [PATCH] Add inventory files and group_vars for debian, external and home --- inventory/dmc12.yml | 37 +++++++++++++++++++++++++++++++ inventory/external.yml | 10 +++++++++ inventory/group_vars/debian.yml | 8 +++++++ inventory/group_vars/external.yml | 11 +++++++++ inventory/group_vars/home.yml | 1 + inventory/home.yml | 20 +++++++++++++++++ 6 files changed, 87 insertions(+) create mode 100644 inventory/dmc12.yml create mode 100644 inventory/external.yml create mode 100644 inventory/group_vars/debian.yml create mode 100644 inventory/group_vars/external.yml create mode 100644 inventory/group_vars/home.yml create mode 100644 inventory/home.yml diff --git a/inventory/dmc12.yml b/inventory/dmc12.yml new file mode 100644 index 0000000..9fbc4a6 --- /dev/null +++ b/inventory/dmc12.yml @@ -0,0 +1,37 @@ +debian: + hosts: + rp: + ansible_host: 192.168.212.50 + bitwarden: + ansible_host: 192.168.212.20 + pdf: + ansible_host: 192.168.212.65 + mailcow: + ansible_host: 192.168.212.70 + plex: + ansible_host: 192.168.212.62 + cloud: + ansible_host: 192.168.212.60 + romm: + ansible_host: 192.168.212.64 + gitea: + ansible_host: 192.168.212.30 + ssh_service_name: ssh + ipam: + ansible_host: 192.168.212.56 + ssh_service_name: ssh + teamspeck6: + ansible_host: 192.168.212.75 + wiki: + ansible_host: 192.168.212.55 + patchmon: + ansible_host: 192.168.212.80 + einstein-dns: + ansible_host: 192.168.212.53 + +proxmox: + hosts: + dmc12: + ansible_host: 192.168.212.10 + pbs: + ansible_host: 192.168.212.11 \ No newline at end of file diff --git a/inventory/external.yml b/inventory/external.yml new file mode 100644 index 0000000..e5aad7e --- /dev/null +++ b/inventory/external.yml @@ -0,0 +1,10 @@ +debian: + hosts: + healthcheck: + ansible_host: 2a01:4f8:1c1e:62dd::1 + netbird: + ansible_host: 2a01:4f8:1c1c:8c8::1 + teleport: + ansible_host: 2a01:4f8:1c19:c7d::1 + podcast-linkstack: + ansible_host: 2a01:4f8:c17:de13::1 \ No newline at end of file diff --git a/inventory/group_vars/debian.yml b/inventory/group_vars/debian.yml new file mode 100644 index 0000000..b04d9fa --- /dev/null +++ b/inventory/group_vars/debian.yml @@ -0,0 +1,8 @@ +# Standardwerte, die überschrieben werden können +os_update_auto_upgrade: true +os_also_update_mirror: false +os_update_mirrors: + # Role needs two mirros to use for the sources.list.j2 Template + - "http://deb.debian.org/debian" # Enter a main mirror here (not security) + - "http://security.debian.org/debian-security" # Enter a security mirror here +os_update_version_codename: "trixie" # KEEP UNTOUCHED!! | Used for jinja2 Template fill in as it determines the current codename of system where ansible is run on \ No newline at end of file diff --git a/inventory/group_vars/external.yml b/inventory/group_vars/external.yml new file mode 100644 index 0000000..7b1c872 --- /dev/null +++ b/inventory/group_vars/external.yml @@ -0,0 +1,11 @@ +--- +# SSH authorized keys for admin user +# Format: key and optional comment +admin_authorized_keys: + - key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL/XwF0Na+YH7lRqGtwEcyIMVGTQZetNDrC9sZ8ofjC5 niklas@Linkman-PC" + comment: "Niklas - Linkman-PC" + - key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA+EvtGavPlXfv7b00jSYsXX2+IEsqFWupEs6Rzf5z9q root@ansible" + comment: "Generic Ansible Key" + +# Admin user password (hashed with SHA-512) +admin_password: "$6$NmIxM3ZbJDsbC1E6$BO8ag1ZyBqbhELjk0ppKV0CLnYXhHDp9oZc.jmkc62N9hjwbXihF1FmvsYgMKKINVcwaE73u2dRO8pnE6yEGH/" \ No newline at end of file diff --git a/inventory/group_vars/home.yml b/inventory/group_vars/home.yml new file mode 100644 index 0000000..69d6cb5 --- /dev/null +++ b/inventory/group_vars/home.yml @@ -0,0 +1 @@ +monitoring_zabbix_passive_servers: ["10.13.37.1"] \ No newline at end of file diff --git a/inventory/home.yml b/inventory/home.yml new file mode 100644 index 0000000..77268fd --- /dev/null +++ b/inventory/home.yml @@ -0,0 +1,20 @@ +home: + children: + debian: + hosts: + rp: + ansible_host: 10.13.37.11 + paperless: + ansible_host: 10.13.37.30 + homeassistant: + ansible_host: 10.13.37.15 + teleport-jumper: + ansible_host: 10.13.37.50 + idris-dns: + ansible_host: 10.13.37.53 + it-tools: + ansible_host: 10.13.37.16 + proxmox: + hosts: + tardis: + ansible_host: 10.13.37.5 \ No newline at end of file