From 00bc6714ee112b3db7f219f8e4805efbdf4dfddb Mon Sep 17 00:00:00 2001 From: h <9pfs@amcforum.wiki> Date: Wed, 1 Jan 2025 13:23:06 -0800 Subject: [PATCH] Only deploy solanum to servers in the irc-servers group --- inventory.yml | 25 +++++++++++++++++++++++++ solanum.yml | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/inventory.yml b/inventory.yml index 9477d97..f6e8771 100644 --- a/inventory.yml +++ b/inventory.yml @@ -44,6 +44,14 @@ routers: llv6: fe80::2002:5 pop_loc: kix solanum_sid: '9R5' + genesis.routers.9pfs.dn42: + ansible_python_interpreter: "/usr/bin/python3" + machine_type: container + unicastv4: 172.22.161.6 + unicastv6: fd32:6b0:70a6:179::6 + llv6: fe80::2002:6 + pop_loc: genesis + solanum_sid: '9R6' services: hosts: mail.9pfs.dn42: @@ -57,3 +65,20 @@ nameservers: machine_type: container #us2.ns.9pfs.dn42: uk1.ns.9pfs.dn42: +# genesis is intentionally excluded because it's not supposed to always be online. +irc-servers: + hosts: + us1.routers.9pfs.dn42: + us2.routers.9pfs.dn42: + uk1.routers.9pfs.dn42: + us3.routers.9pfs.dn42: + kix.routers.9pfs.dn42: + +# Same host list as irc-servers, genesis shouldn't run a lg because it goes down frequently +lg-hosts: + hosts: + us1.routers.9pfs.dn42: + us2.routers.9pfs.dn42: + uk1.routers.9pfs.dn42: + us3.routers.9pfs.dn42: + kix.routers.9pfs.dn42: diff --git a/solanum.yml b/solanum.yml index 54036f1..88e1445 100644 --- a/solanum.yml +++ b/solanum.yml @@ -1,5 +1,5 @@ - name: Configure solanum on routers - hosts: routers + hosts: irc-servers remote_user: root tasks: - name: See if solanum has been built already