* nftables: (2 commits)
Cleanup nft merge. Chg osbuildapi and nft_custom_rules to use nft_table_filter.
...
Signed-off-by: James Antill <james@and.org>
This instance will be the new pagure.io once everything is migrated to
it. This will need a small outage to migrate it instead of a day or two
outage to move the existing hardware.
Tenatively I'd like to schedule this for december 3rd.
The hardware will be moving from rdu-cc on december 8th.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
Before the custom rules was actually intended to _allow_ more things
on a particular host. Putting those blocks in there was useless because
custom rules were applied _after_ all the allowed ports, so it wasn't
really blocking anything.
This moves them to a block_rules applied before the ports are allowed
Also move pagure's to that new rule list.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
migrated notes from infra/hosts
motd changes; excluding CSI infos
removed csi_* vars from group_vars; converted csi_purpose & csi_relationship into notes
fixed merge conflicts
minor changes; var
updating YAMLs & playbooks
udpated YAMLs & playbooks again
updated correctly; buildhw.yml
fixing merge conflicts
dest added in motd.yml
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>
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>
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>
We had been using rdiff-backup, which was easy to do, but it makes
very little sense with database backups to bother doing that.
Instead we just rsync them over and don't bother with looking at
chunks that may or may not be duplicated. This should make the daily
backup runs much faster.