Commit graph

31296 commits

Author SHA1 Message Date
Kevin Fenzi
dd14b40d99 iad2: add busgateway01.iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 13:05:02 -07:00
Kevin Fenzi
3afbb9ebad iad2: bugzilla2fedmsg01.iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 13:02:17 -07:00
Kevin Fenzi
bda13e8e8f iad2: blockerbugs: connect to the right db host
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 12:50:11 -07:00
Pierre-Yves Chibon
2d1de54c89 distgit: Apply Kevin's fix to get the static files to show
Basically, we have two places where we apply the rewrite rule
allowing to access static files either in pagure-dist-git
or in the regular pagure.
We had fixed the first one earlier and this commit fixes the
second one.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-23 21:30:32 +02:00
Pierre-Yves Chibon
bb6f7217d3 pkgs: specify to the nfs/client role that we're ok with mounting this in stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-23 20:37:30 +02:00
Kevin Fenzi
ba001ac2eb blockerbugs: drop hosts files.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 11:32:45 -07:00
Kevin Fenzi
6d92b01c7a mdapi: drop vms now that mdapi is in openshift
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 11:27:15 -07:00
Kevin Fenzi
ffbc7c004b iad2: blockerbugs01.iad2: this host vars is cursed. Fix dns server ip
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 11:17:49 -07:00
Pierre-Yves Chibon
da660c1852 distgit/pagure: pagure in staging runs with python 3.6
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-23 20:02:39 +02:00
Kevin Fenzi
97b4bd02ef iad2/blockerbugs: use the correct kickstart
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 10:50:41 -07:00
Kevin Fenzi
ad0cc27fcc iad2/blockerbugs01.iad2: just cannot catch a break today. fix ip harder
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 10:35:23 -07:00
Kevin Fenzi
fa30534f7a iad2 / blockerbugs01.iad2: fix ip in ks /repo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 10:33:43 -07:00
Kevin Fenzi
64db8ae700 iad2: certgetter01.iad2: switch to using batcave01.iad2 for kickstart/install
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 10:28:07 -07:00
Kevin Fenzi
dbe5a90e8f virt_instance_create: cast the lv size to int to avoid a warning.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 10:27:27 -07:00
Kevin Fenzi
9381410798 fix volume name for blockerbugs01.iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 10:07:16 -07:00
Kevin Fenzi
759ba407fa iad2: blockerbugs: create a blockerbugs01.iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 10:05:19 -07:00
Kevin Fenzi
b1df81e148 iad2 / mediawiki: some adjustments for new mediawiki
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 09:50:06 -07:00
Pierre-Yves Chibon
592e4749c1 distgit: create the pkgs.stg certs via letsencrypt
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-23 15:56:46 +02:00
Pierre-Yves Chibon
687230bfb8 distgit: turn off grokmirror for now in stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-23 15:08:51 +02:00
Pierre-Yves Chibon
f258376a88 distgit: restructure the playbook so it does the basic first then the dist-git specific bits
This will hopefully help making sure, for example, the correct rhel8.repo
repo definition file gets installed before we call the pagure role that
relies on this file being there.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-23 15:08:51 +02:00
4b5446f486 nagios: fixing template name, didn't see the j2 2020-05-22 18:35:30 -06:00
8a852177db nagios: make referenced filenames match filesystem
The filename for a template didn't match the file that's in git. Fixed
the filename in the playbook since the naming convention for the files
seemed consistent.
2020-05-22 18:07:30 -06:00
4101428763 nagios: completing rename of some servicegroups
This one line seems to have gotten lost when several servicegroups were
renamed to services as that is a more appropriate name for them. Ansible
was looking for it in the wrong directory
2020-05-22 17:52:08 -06:00
ca553c22ca nagios: the nagios.cfg service isn't phx2_internal
The file for nagios.cfg as a service in nagios isn't in git as
phx2_internal and the nagios playbook is failing because the path for
that service file isn't correct.

It's being copied with the other non-phx2-specific service files in the
following play so this change won't skip the file.
2020-05-22 15:53:07 -06:00
962b28e0da inventory: removing more taskotron hw refs 2020-05-22 15:43:00 -06:00
918828ca15 nagios: correct path for copying phx2 nagios svcs
The nagios playbook is failing because it can't find a bunch of service
files. The playbook refers to a path of 'nagios/services/phx2/' but the
path that exists in git is 'nagios/services/phx2_internal'.

This fixes the path reference so that the playbook should complete.
2020-05-22 15:29:48 -06:00
77adf20745 rkhunter: removing taskotron group references 2020-05-22 15:02:17 -06:00
07495036c9 inventory: decomission taskotron vmhosts, last vms 2020-05-22 20:39:33 +00:00
Stephen Smoogen
5407472e84 move iad2 in front of vpn so that hosts aren't trying to reach vpn hosts when they aren't on vpn 2020-05-22 15:24:31 -04:00
Stephen Smoogen
d8188e7417 turn off ipv6 on bastion until we get ipv6 fulling deployed 2020-05-22 14:07:59 -04:00
Stephen Smoogen
5b9d2b927d put in an updated postfix.main for bastion-iad01 2020-05-22 13:56:34 -04:00
Pierre-Yves Chibon
3ad71fd2a0 distgit: Install mod_auth_openidc via modules in RHEL8
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-22 17:54:51 +02:00
Pierre-Yves Chibon
3ed325d3b7 distgit/pagure: on rhel8 it is mandatory to have a WSGIProcessGroup for pagure to work
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-22 17:29:40 +02:00
Pierre-Yves Chibon
23c94a35d1 distgit: now that the dist-git package is available, a number of steps can be re-enabled
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-22 11:30:58 +02:00
Pierre-Yves Chibon
d561ecb7c3 Tweak pagure's postgresql configuration
Thanks to @midipix for his help and guidance on this

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-22 09:08:00 +00:00
Pierre-Yves Chibon
6710db8d0d Make some more of the postgresql configuration key adjustable
Basically, if the variables are defined in the host, use them, otherwise
use the current values.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-22 09:08:00 +00:00
Kevin Fenzi
bdeab305b9 iad2: wiki01: use iad instead of iad2 for ks
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 20:30:55 -07:00
Kevin Fenzi
5fe519449c iad2: use a iad2 specific ks
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 17:49:50 -07:00
Stephen Smoogen
b54b1c74f6 fix nrpe config location 2020-05-21 19:34:45 -04:00
Stephen Smoogen
192637532c set up things so nagios in iad2 is mostly ready. 2020-05-21 19:20:38 -04:00
Kevin Fenzi
419140e4c5 iad2: wiki01.iad2: use one nic virt install
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 14:59:58 -07:00
Kevin Fenzi
28401dfe1f iad2: add a wiki01.iad2. Try and install it from batcave01.iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 14:57:30 -07:00
Kevin Fenzi
4a734b7668 batcave01.iad: no need for eth1. Drop it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 14:51:13 -07:00
Stephen Smoogen
aa8f90f074 and we remember that j2 files are not cfg files 2020-05-21 16:59:49 -04:00
2c8040908d proxies: second attempt at fixing ansible-review 2020-05-21 20:52:28 +00:00
f758238830 proxies: fixing formatting mistake 2020-05-21 20:52:28 +00:00
1c6e44180f Proxies: decommission dead taskotron and qa stuff
This removes proxy bits for all the non-resultsdb taskotron bits that
have been removed and old qa stuff that has been decommissioned
2020-05-21 20:52:28 +00:00
Stephen Smoogen
794071b256 make mgmt interfaces faster to build 2020-05-21 16:46:41 -04:00
Stephen Smoogen
4b98504aaa Merge branch 'master' of ssh://pagure.io/fedora-infra/ansible 2020-05-21 15:47:31 -04:00
Stephen Smoogen
435095958d move more service groups to static files and use servicegroup definitions in services 2020-05-21 15:47:19 -04:00