Commit graph

32863 commits

Author SHA1 Message Date
Pierre-Yves Chibon
2384341514 staging-sync/db-sync: Name a few more tasks to have a nicer output
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 12:03:06 +02:00
Pierre-Yves Chibon
66cbb8da16 staging-sync/db-sync: Name the task stopping/restarting apache
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:58:52 +02:00
Pierre-Yves Chibon
f755eef97f staging-sync/db-sync: Fix the condition to ensure the server is defined and not null
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:57:22 +02:00
Pierre-Yves Chibon
cf31e3f0c8 staging-sync/db-sync: Point to batcave01 only instead of all the batcaves
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:53:46 +02:00
Pierre-Yves Chibon
e3943b0e52 staging-sync/db-sync: Allow the deletion of the stg database to fail without breaking the playbook
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:53:46 +02:00
Mark O'Brien
4b57d90fd0 Merge branch 'master' of ssh://pagure.io/fedora-infra/ansible 2020-09-16 10:49:40 +01:00
Mark O'Brien
daac32e272 [batcave] yet more proxies allowed 2020-09-16 10:49:24 +01:00
Pierre-Yves Chibon
c377f97e50 staging-sync/db-sync: strings need quotes
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:48:41 +02:00
Pierre-Yves Chibon
2046802ec5 staging-sync/db-sync: yet another attempt to make the server argument optional
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:47:28 +02:00
Pierre-Yves Chibon
28e5751542 staging-sync/db-sync: when are not a valid attribute for plays
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:38:21 +02:00
Pierre-Yves Chibon
b4ea291fe9 staging-sync/db-sync: Another attempt to make the server optional
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:37:30 +02:00
Pierre-Yves Chibon
c3ad168fb0 staging-sync/db-sync: stop apache after having dumped the prod db
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:30:23 +02:00
Pierre-Yves Chibon
ca8130bdca staging-sync/db-sync: port the playbook to iad2 and make the server argument optional
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-16 11:28:15 +02:00
Aurélien Bompard
54d6b32dbc
Elections: add mount path for ipa config
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:49:28 +02:00
Aurélien Bompard
833000da02
Elections: fix pre-deployment script
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:46:51 +02:00
Aurélien Bompard
cc4ff8266a
Forgot an env var
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:39:19 +02:00
Aurélien Bompard
b16660ab24
Setup Elections for FASJSON access
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:37:04 +02:00
Aurélien Bompard
d23d79926f
Run Elections on Python 3
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:16:55 +02:00
Aurélien Bompard
6733be5986
Update Elections for FASJSON in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:11:31 +02:00
Kevin Fenzi
c45ed35ce1 Add resultsdb01.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 15:53:26 -07:00
Kevin Fenzi
146e341e26 staging: drop a bunch of no longer needed phx2 stg host_vars
These are all things that aren't coming back, or already did under a
different name.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 15:36:01 -07:00
Kevin Fenzi
3c4cbc19f5 Add oci-candidate-registry01.stg and oci-registry01.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 15:30:58 -07:00
Kevin Fenzi
87d5bc23de openvpn / server: Add ccd file for pagure02
Note that this just needs to add a new ccd file, nothing has to be
restarted and it can't possibly be used by anything but
'pagure02.fedoraproject.org' so it should not affect freeze on bastion.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 13:48:56 -07:00
Kevin Fenzi
6298c37297 Add compose-x86-01.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 13:37:26 -07:00
Kevin Fenzi
ff7f428020 db-koji01.stg: bump the disk size up to 1.5T to match production
Without this the db doesn't finish loading from prod. ;(

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 13:02:16 -07:00
Kevin Fenzi
9eeeb06726 bodhi-backend01.stg: don't install fedmsg role in stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 10:54:52 -07:00
Kevin Fenzi
a6fc1adcd8 pagure: set max_mem_size
By default max_mem_size is 5 * mem, but when you get to higher memory
sizes that goes over the memory the host has and installs will fail. Set
it to just what we might ever increase it to.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 10:23:46 -07:00
Kevin Fenzi
348ec04e3a Add pagure02 to rdu-cc
We want to migrate pagure from rhel7 to rhel8, so we are making a
pagure02 instance thats rhel8. We will sync everything over and get it
all tested and working and then schedule an outage to do a final sync
and swap it in.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 10:20:29 -07:00
Kevin Fenzi
f119e37773 Add bodhi-backend01.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 10:04:35 -07:00
Siteshwar Vashisht
5118b6817d Update roles/rabbitmq_cluster/tasks/apps.yml
Add `alt-src` user and queue for `sync2git` service for CentOS Streams
2020-09-15 07:55:04 +00:00
Kevin Fenzi
7149a5e0d6 vmhost-x86-cc-rdu05: remove duplicate datacenter variable
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 16:51:25 -07:00
Kevin Fenzi
5bc03b27a3 fix odcs playbook to not run fas_client or 2fa in staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 16:24:58 -07:00
Kevin Fenzi
a34afc5186 staging mbs/odcs: adjust variables for iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 16:10:56 -07:00
Kevin Fenzi
5869c9c160 koji prod->stg sync: adjust for new datacenter
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 16:01:22 -07:00
Kevin Fenzi
5eca3767e7 Add odcs-frontend01.stg/odcs-backend01.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 15:40:51 -07:00
Kevin Fenzi
a2ad9bd650 mbs-backend01.stg/mbs-frontend01.stg: These should be rhel7 for now.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 15:38:37 -07:00
Kevin Fenzi
5b663bf7ac Add mbs-frontend01.stg/mbs-backend01.stg.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 15:17:21 -07:00
Kevin Fenzi
8907393be0 autosign: the group is autosign_stg not autosign-stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 15:11:48 -07:00
Kevin Fenzi
e4070c7f9c Add host_vars for autosign01.stg.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 14:59:01 -07:00
Kevin Fenzi
82179a74b9 Add autosign01.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 14:58:51 -07:00
Kevin Fenzi
c884f7c804 sign-vault01.stg: move to bvmhost.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 14:52:39 -07:00
Kevin Fenzi
200250a347 Add sign-vault01.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 14:37:44 -07:00
Kevin Fenzi
cd069acff7 sign-bridge01.stg: use correct gateway.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 14:18:05 -07:00
Kevin Fenzi
3210d189c8 sign-bridge01.stg: use rhel8.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 14:09:48 -07:00
Kevin Fenzi
7f343e48b6 Add sign-bridge01.stg to staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 13:42:38 -07:00
Kevin Fenzi
7ab4625dad pdc-web01.stg: fix the kickstart url
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 13:37:40 -07:00
Kevin Fenzi
6829ac5e89 bvmhost-x86-02.stg: setup connection for linux system roles.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 13:13:34 -07:00
Kevin Fenzi
6198ce6c1b Add pdc-web01.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 13:07:11 -07:00
Kevin Fenzi
36adcfff7a buildvm-s390x-01.stg: return to inventory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 11:33:53 -07:00
Kevin Fenzi
341f137636 wiki01.stg: increase memory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-14 11:04:31 -07:00