From aab581e8598992368d36098b4839352d746e2e84 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 17 Aug 2024 11:03:18 -0500 Subject: [PATCH] hosts: Move VM hosts from hosts.offline Originally, the VM hosts were in a separate inventory so they would not be managed with the rest of the servers. It used to be that one server was running all the VMs, while the other was asleep. That's no longer the case; both alre always running and each has about half of the VMs. Since they're both always online, they can be managed normally now. --- hosts | 14 +++++++++++++ hosts.offline | 58 --------------------------------------------------- 2 files changed, 14 insertions(+), 58 deletions(-) delete mode 100644 hosts.offline diff --git a/hosts b/hosts index 9d95b94..3606a66 100644 --- a/hosts +++ b/hosts @@ -27,6 +27,9 @@ pyrocufflink [collectd-prometheus:children] collectd +[collectd-sensors:children] +vm-hosts + [collectd-sensors] nvr2.pyrocufflink.blue @@ -94,11 +97,18 @@ k8s-node [needproxy] nvr2.pyrocufflink.blue +[networkd] +vmhost0.pyrocufflink.blue +vmhost1.pyrocufflink.blue + [nextcloud] cloud0.pyrocufflink.blue [ntpd] +[nut-monitor:children] +vm-hosts + [nut-monitor] burp1.pyrocufflink.blue @@ -125,6 +135,8 @@ matrix0.pyrocufflink.blue nvr2.pyrocufflink.blue pxe0.pyrocufflink.blue smtp1.pyrocufflink.blue +vmhost0.pyrocufflink.blue +vmhost1.pyrocufflink.blue web0.pyrocufflink.blue [pyrocufflink-dhcp] @@ -152,6 +164,8 @@ matrix0.pyrocufflink.blue [unifi] [vm-hosts] +vmhost0.pyrocufflink.blue +vmhost1.pyrocufflink.blue [wheelhost] file0.pyrocufflink.blue diff --git a/hosts.offline b/hosts.offline deleted file mode 100644 index 2aa1007..0000000 --- a/hosts.offline +++ /dev/null @@ -1,58 +0,0 @@ -[all:vars] -ansible_python_interpreter=/usr/bin/python3 - -[collectd:children] -pyrocufflink - -[collectd-prometheus:children] -collectd - -[collectd-sensors] -vmhost0.pyrocufflink.blue -vmhost1.pyrocufflink.blue - -[dhcpcd:children] -vm-hosts - -[frigate] - -[koji:children] -koji-builder -koji-hub - -[koji-builder] -koji0.pyrocufflink.blue - -[koji-hub] -koji0.pyrocufflink.blue - -[koji-web] -koji0.pyrocufflink.blue - -[networkd] -vmhost0.pyrocufflink.blue -vmhost1.pyrocufflink.blue - -[nut-monitor:children] -vm-hosts - -[promtail:children] -vm-hosts - -[pyrocufflink] -koji0.pyrocufflink.blue -taiga0.pyrocufflink.blue -vmhost0.pyrocufflink.blue -vmhost1.pyrocufflink.blue - -[rw-root] - -[taiga] -taiga0.pyrocufflink.blue - -[vm-hosts] -vmhost0.pyrocufflink.blue -vmhost1.pyrocufflink.blue - -[zabbix:children] -pyrocufflink