From 336cade28ebd8804f3fb264b2449ec9f000f6b84 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Sun, 17 Nov 2024 22:34:17 -0700 Subject: [PATCH] Update Networking/Homelab Server Inventory.md --- Networking/Homelab Server Inventory.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Networking/Homelab Server Inventory.md b/Networking/Homelab Server Inventory.md index fedf3b9..135271e 100644 --- a/Networking/Homelab Server Inventory.md +++ b/Networking/Homelab Server Inventory.md @@ -1,8 +1,12 @@ -Documented IP addresses of physical servers and virtual machines (*Not including docker / kubernetes containers*). This is in the format of an Ansible Inventory File in order to keep AWX updated at the same time the associated data is catalogued here. +## Overview +All servers (physical and virtual) are documented within this specific page. They are written in a specific annotated manner in order to make them copy/paste ready for the Ansible AWX Operator server that interacts with devices in the homelab over `SSH` and `WinRM` protocols. This allows me to automate functions such as updates across the entire homelab declaratively versus individually. -Whenever changes are made here, they need to be replicated to the production ansible cluster [Homelab Inventory File](https://git.bunny-lab.io/GitOps/awx.bunny-lab.io/_edit/main/inventories/homelab.ini). +**Note**: This list does not include container-based workloads. Those can be found within the [Container Network IP Table](https://docs.bunny-lab.io/Networking/IP%20Tables/192.168.5.0%20-%20Container%20Network/) document. Given that Ansible does not interact with containers in my homelab (*yet*), these devices are not listed within this document. -```ini title="awx.bunny-lab.io/inventories/homelab.ini" +## Updating Ansible Inventory +Whenever changes are made here, they need to be replicated to the production [Ansible AWX Inventory File](https://git.bunny-lab.io/GitOps/awx.bunny-lab.io/_edit/main/inventories/homelab.ini). This ensures that Ansible AWX is always up-to-date. Simply copy/paste the codeblock below into the linked inventory file, and commit the change with a comment explaining what was added/removed from the inventory list. + +```ini title="https://git.bunny-lab.io/GitOps/awx.bunny-lab.io/src/branch/main/inventories/homelab.ini" # Deep Nodes deep-node ansible_host=10.0.0.20