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
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
Kevin Fenzi
924325027c
mariadb: drop MySQL-python as it's not shipped in rhel8
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 10:12:33 -07:00
Stephen Smoogen
53c3aac9dd
Merge branch 'master' of ssh://pagure.io/fedora-infra/ansible
2020-05-21 12:28:54 -04:00
Stephen Smoogen
211641ab19
test to see if these variables are working for iad2
2020-05-21 12:28:46 -04:00
Kevin Fenzi
659de98d11
iad2 / inventory: add missing iad2 hosts
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 09:28:07 -07:00
Mark O'Brien
851d898e01
[rsyslog] add rsyslog8/rhel8 conf file
2020-05-21 11:37:48 +01:00
Kevin Fenzi
1984e8770b
db03.iad2: try rhel8
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-20 20:55:06 -07:00
Kevin Fenzi
8a49869f47
iad2: make a db03 mariadb instance in iad2.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-20 20:48:44 -07:00
Kevin Fenzi
58959e7414
iad2: add bvmhost-x86-06.iad2.fedoraproject.org to iad2 group
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-20 16:15:54 -07:00
Kevin Fenzi
e5616b28bd
iad2: add dl01-05 to iad2 group
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-20 16:07:36 -07:00
Kevin Fenzi
a3e34c6cee
iad2: certgetter01.iad2: bump memory up it does not seem happy with 2gb
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-20 16:06:47 -07:00
Kevin Fenzi
c7a298ab73
iad2: add db01.iad2 server
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-20 16:05:42 -07:00
b2718b308a
inventory: decomissioning qa/taskotron hosts
2020-05-20 16:13:03 -06:00