From fa7ed8f5a302139918ac80d3178dd4ef789d16e1 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 16 Jan 2024 14:28:56 -0800 Subject: [PATCH] mailman: first cut at setting up a mailman01.stg This will likely need a lot of adjustment, but lets start here with a rhel9 mailman01.stg instance to setup. Signed-off-by: Kevin Fenzi --- inventory/host_vars/mailman01.stg.iad2.fedoraproject.org | 6 +++--- inventory/inventory | 8 ++++---- playbooks/groups/mailman.yml | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/inventory/host_vars/mailman01.stg.iad2.fedoraproject.org b/inventory/host_vars/mailman01.stg.iad2.fedoraproject.org index 1b1c351550..2df86ea89c 100644 --- a/inventory/host_vars/mailman01.stg.iad2.fedoraproject.org +++ b/inventory/host_vars/mailman01.stg.iad2.fedoraproject.org @@ -2,7 +2,7 @@ datacenter: iad2 eth0_ipv4_gw: 10.3.166.254 eth0_ipv4_ip: 10.3.166.40 -ks_repo: http://10.3.163.35/repo/rhel/RHEL7-x86_64/ -ks_url: http://10.3.163.35/repo/rhel/ks/kvm-rhel-7-iad2 -vmhost: vmhost-x86-03.stg.iad2.fedoraproject.org +ks_repo: http://10.3.163.35/repo/rhel/RHEL9-x86_64/ +ks_url: http://10.3.163.35/repo/rhel/ks/kvm-rhel +vmhost: vmhost-x86-09.stg.iad2.fedoraproject.org volgroup: /dev/vg_guests diff --git a/inventory/inventory b/inventory/inventory index aa91662db6..f1d916b6ef 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -126,8 +126,8 @@ github2fedmsg01.stg.iad2.fedoraproject.org [mailman] mailman01.iad2.fedoraproject.org -#[mailman_stg] -#mailman01.stg.iad2.fedoraproject.org +[mailman_stg] +mailman01.stg.iad2.fedoraproject.org [mbs_frontend] mbs-frontend01.iad2.fedoraproject.org @@ -651,7 +651,7 @@ ipa02.stg.iad2.fedoraproject.org ipa03.stg.iad2.fedoraproject.org ipsilon01.stg.iad2.fedoraproject.org koji01.stg.iad2.fedoraproject.org -#mailman01.stg.iad2.fedoraproject.org +mailman01.stg.iad2.fedoraproject.org mbs-backend01.stg.iad2.fedoraproject.org mbs-frontend01.stg.iad2.fedoraproject.org memcached01.stg.iad2.fedoraproject.org @@ -822,7 +822,7 @@ fedmsg_gateways_stg # These are groups that are using the python34 fedmsg stack. [python34_fedmsg:children] mailman -#mailman_stg +mailman_stg ## END fedmsg services diff --git a/playbooks/groups/mailman.yml b/playbooks/groups/mailman.yml index 88058da083..7f616222b2 100644 --- a/playbooks/groups/mailman.yml +++ b/playbooks/groups/mailman.yml @@ -45,7 +45,7 @@ # - name: prepare setting up the database - hosts: db01.iad2.fedoraproject.org + hosts: db01.iad2.fedoraproject.org:db01.stg.iad2.fedoraproject.org gather_facts: no user: root @@ -56,7 +56,7 @@ - packages - name: setup the database - hosts: db01.iad2.fedoraproject.org + hosts: db01.iad2.fedoraproject.org:db01.stg.iad2.fedoraproject.org gather_facts: no become: yes become_user: postgres