From 383e60cea2159aed1540336ef7e1e14ea926f62d Mon Sep 17 00:00:00 2001 From: max Date: Sun, 22 Jun 2025 16:50:55 +0200 Subject: [PATCH] Updated inventory to groups --- Inventory/hosts.yaml | 43 +++++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/Inventory/hosts.yaml b/Inventory/hosts.yaml index 5b0818e..0acd9ba 100644 --- a/Inventory/hosts.yaml +++ b/Inventory/hosts.yaml @@ -1,32 +1,39 @@ all: hosts: - pve: + pve-R730-3GDWF82: ansible_host: 192.168.1.2 ansible_user: root truenas: ansible_host: 192.168.3.1 ansible_user: truenas_admin + network: + ansible_host: 192.168.1.253 + ansible_user: root + mailcow: + ansible_host: 192.168.1.200 + ansible_user: root + compute-0: + ansible_host: 192.168.2.2 + ansible_user: root + compute-1: + ansible_host: 192.168.2.3 + ansible_user: root + children: + fedora: + hosts: + network: + mailcow: + compute-0: + compute-1: debian: hosts: pve: truenas: + docker: + hosts: + compute-0: + compute-1: pve: hosts: - pve: - - - -fedora: - hosts: - 192.168.1.253: - 192.168.1.200: - 192.168.2.2: - 192.168.2.3: -pve: - hosts: - 192.168.1.2: -docker: - hosts: - 192.168.2.2: - 192.168.2.3: \ No newline at end of file + pve-R730-3GDWF82: \ No newline at end of file