Commit graph

13 commits

Author SHA1 Message Date
Kevin Fenzi
6c540c184f inventory / host_vars: change infrastructure.fedoraproject.org url to iad2 instead of old phx2 ip
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-24 14:55:39 -08:00
Pete Buffon
d866ed3851 removed all keys {eth0_ipv4_nm: 24} 2022-01-25 22:17:11 +00:00
Pete Buffon
938e63fa71 mass vm host_vars edit for default network connection 2022-01-25 22:17:11 +00:00
Kevin Fenzi
580cd252c5 Inventory group/host variables: Sort yaml
This was done using yq (
https://mikefarah.gitbook.io/yq/operators/sort-keys )

Doing things this way makes it much easier to see if a variable is set
in a file or if two hosts differ in what variables they set. Hopefully
we can keep things sorted moving forward.

Basically this means just sort a-z anything you add to any host or group
vaiable and it will be in the right place.

Additionally, this enforces 'normal' intent rules for all the variable
files which we should also try and obey. 2 spaces for first level, 3 for
next, etc. When in doubt you can run yq on it.

This should cause NO actual vairable changes, it's all just readability
fixing for humans, ansible parses it exactly the same.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-16 13:27:57 -08:00
Kevin Fenzi
c3830a9698 db01: do not bother to alert on low swap
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-09 08:23:23 -07:00
Kevin Fenzi
3c12ef6aa9 Killed trailing spaces in group/host vars with fire.
Normally it's just a nitpick to not have trailing spaces on variables.
However, for some things like mac address, it really matters.
Bunches of buildhw's were failing ansibile because they were passing
"mac address " to linux-system-roles networking and ansible was going
'huh, nope, I can't find that mac address here at all'.
So, just blow all the tailing spaces away to avoid any other variables
that hit this.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-04 08:52:52 -07:00
Kevin Fenzi
1df0773d19 Drop fas_client_groups from everything since we are not using fas anymore.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-05 10:22:31 -07:00
Patrick Uiterwijk
163cbc5e9b zezere: back up database
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2021-02-03 12:57:58 +01:00
Kevin Fenzi
21ca5bebe9 db01: backup resultsdb
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-20 12:00:34 -08:00
Kevin Fenzi
f506c56b1e inventory / db01: increase memory and cpus and adjust postgresql settings
GIve db01 64gb mem and 24cpus. We have them on that virthost and this
host is one of our busiest.

Adjust the postgresql params based on what I now know from adjusting
db-koji01. This should hopefully improve a number of applications
performance.

Note that we need a restart/reboot to have the cpu changes and postgres
changes take effect. The memory change is already live.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 15:37:50 -07:00
Kevin Fenzi
9aaa7dd60c postgresql: db01: adjust varaibles to try and improve performance
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-23 11:56:24 -07:00
Kevin Fenzi
3e6daf66f7 db01: Oh look, we were not backing up mirrormanager2 db all this time. ;(
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-24 10:00:55 -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