The server uses the upstream release RPM, not EPEL, so
the package names are different. Our pattern for OS vars
override host_vars, so we have to explictly set an override var
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
Fairly big commit, this does:
- Any host including zabbix_agent will now register iteself with the server
This means we can drop auto-registration once it's tested
- Any host with a "bmc:" entry in host_vars will add items/triggers to monitor it
This means we don't need separate "hosts" for the MGMT interfaces
- Reverted to a single base template
The split ones were overkill, we can handle the builders with host macros
- Added defaults to the roles
This lets us override the connection vars from host/group vars (useful for testing)
- Lint & minor cleanup
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This causes an issue where we have a proxy01.iad2 and a proxy01.rdu3.
They are different hosts, but if it uses the short name then the second
one fails because it has the same name as the first.
Lets just use fqdn for now and see if causes any problems in
display in the interface. If it does, we can change it to
perhaps include the second octet.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This adds:
- Matrix media type
- User for a Matrix bot
- Trigger using Matrix & the bot
- PSK configuration, using the PSK file already deployed
- 2 base templates
- a general one suitable even for Koji
- a dependant one for all other hosts
- Autoregistration config to use the new base template
This is all scoped to staging via a new include in main.yml
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>
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>
This job was used to cleanup old ami's from fedimg.
It then reported to a pagure project about what it did.
However, it's token has been expired and it no longer needs to exist.
Garbage collection of ami's should take place in the new
cloud-image-uploader (well, it marks when things are eol).
So, lets just remove this old and nolonger needed cron.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This was just added to help debug some startup problems, so we can drop
it now. Also, it causes the playbook to be non idempotent (ie, this task
runs and changes everytime the playbook it run, causing a lot of noise
in the check/diff runs).
/run/zabbix should get created by systemd, so no need to muck with it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>