Update Networking/Homelab Server Inventory.md

This commit is contained in:
2024-11-17 22:34:17 -07:00
parent 43e4d564f7
commit 336cade28e

View File

@ -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 Nodes
deep-node ansible_host=10.0.0.20 deep-node ansible_host=10.0.0.20