This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.
I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```
Then I went through all the changes and removed the ones that wasn't
expected to be changed.
Fixes https://pagure.io/fedora-infrastructure/issue/12391
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
The messaging bridges openshift project and github2fedmsg VM were
already removed in staging. This is to clean the ansible playbooks.
I will create a separate one for production after this one is merged.
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
fix 1900 failures of the following case issue:
`name[casing]: All names should start with an uppercase letter.`
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
We hadn't done this in the past because virt-install couldn't do https
urls, but thats long since no longer the case.
So, move all the ks_url and ks_repo calls to use https and since they
are using https, they need to use the valid
infrastructure.fedoraproject.org name so they can verify the cert.
Set batcave to redirect http to https now since that was the thing
holding this back.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
Using `git grep el6` and `git grep el7` and variants like EL-7 or
el-7, I found various entries and files which were no longer needed
with the current ansible. I updated text or tests to later versions of
RHEL as needed.
found entries for the fedora ami's for the original cloud and removed
those entries also.
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
CentOS Stream 8 is now EOL, so it is no longer necessary to sync and
grobisplit that content for EPEL 8 Next to build against.
https://pagure.io/releng/issue/12147
Signed-off-by: james02135 <james02135@hotmail.com>
Change variable names to basearch and repo as necessary, fix loop issues
Signed-off-by: james02135 <james02135@hotmail.com>
Fix syntax errors in nested for loop
Signed-off-by: james02135 <james02135@hotmail.com>
Modify script to include os filepath
Signed-off-by: james02135 <james02135@hotmail.com>
We occasionally run into problems with certs that aren't renewed in time
or are close to expiring. Just running the proxies playbook will renew
them, but in freezes or the like sometimes there's a long time period
where we don't run that playbook.
So, lets just run weekly with the right tag. This should renew any cert
thats close to expiring.
The job shouldn't normally output anything, but if there's errors it
will email them to admin@
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
The ansible-core-2.14.x in rhel9 (using python 3.9 now) can't handle
running uri module on fedora (python-3.12) without erroring.
There's a backported fix in 2.15, but until thats in rhel9, this will
keep hitting us.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
Fix the kickstart/repo for reinstall.
Add rhel-system-roles for linux-system-roles/networking
Drop some python2 items that aren't available in rhel9 anymore.
Collapse the batcave02 stuff into batcave01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
We moved to timescaledb over on db-datanommer02 a while back, so this vm
it just sitting there doing nothing. ;)
So, lets drop it off and save some resources.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
Prevent these jobs from running so long that new jobs can get started
meanwhile. batcave has been observed to run sometimes dozens of old
list-vms-per-host processes under unusual but not rare circumstances.