Commit Graph

31138 Commits

Author SHA1 Message Date
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
Tim Flink
4b5446f486 nagios: fixing template name, didn't see the j2 2020-05-22 18:35:30 -06:00
Tim Flink
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
Tim Flink
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
Tim Flink
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
Tim Flink
962b28e0da inventory: removing more taskotron hw refs 2020-05-22 15:43:00 -06:00
Tim Flink
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
Tim Flink
77adf20745 rkhunter: removing taskotron group references 2020-05-22 15:02:17 -06:00
Tim Flink
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
Tim Flink
2c8040908d proxies: second attempt at fixing ansible-review 2020-05-21 20:52:28 +00:00
Tim Flink
f758238830 proxies: fixing formatting mistake 2020-05-21 20:52:28 +00:00
Tim Flink
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
Adam Williamson
fcc445b2a7 mediawiki: enable string functions from ParserFunctions
The ParserFunctions extension (which we already use) has some
string functions which I would like to use, but they aren't
enabled by default. Per the documentation, just adding this
config setting should turn them on.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-21 19:28:36 +00:00
Stephen Smoogen
581d301f8c Merge branch 'master' of ssh://pagure.io/fedora-infra/ansible 2020-05-21 15:22:55 -04:00
Stephen Smoogen
d82e99371c use a different syntax for service groups to clean up phx2 ness 2020-05-21 15:22:48 -04:00
Kevin Fenzi
248b798813 nfs/client and batcave: adjust nfs/client playbook to work hopefully in iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 12:16:08 -07:00
Stephen Smoogen
df9fcb477d move nagios ipa file to template to make less phx2 dependent 2020-05-21 14:57:41 -04:00
Kevin Fenzi
8802fc1823 mariadb: adjust the setting of root password.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 10:55:28 -07:00
Kevin Fenzi
d9cdb2583d mariadb: turns out we do need python bindings, but they are called python3-PyMySQL on rhel8
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 10:35:04 -07:00
Stephen Smoogen
89f91a9642 Clean up nagios to deal with dropped services and that servicegroups can NOT end with a , while every other nagios group can. 2020-05-21 13:22:26 -04:00