Commit Graph

284 Commits

Author SHA1 Message Date
Michal Konecny
6428f8f772 Sunset github2fedmsg and fedmsg
This commit is removing all the fedmsg related stuff from ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-13 10:08:51 +00:00
Michal Konecny
2ec055db6f Use first uppercase letter for all handlers
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>
2025-02-10 20:31:49 +00:00
Ryan Lerch
47c68f478d ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
Replaces references to template: with ansible.builtin.template

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +10:00
Ryan Lerch
3c41882bb0 ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
Replaces references to shell: with ansible.builtin.shell

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:29:10 +10:00
Ryan Lerch
25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00
Ryan Lerch
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +10:00
Ryan Lerch
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
Ryan Lerch
62952df107 ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to  file: with ansible.builtin.file

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00
Ryan Lerch
691adee6ee Fix name[casing] ansible-lint issues
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>
2025-01-14 20:20:07 +10:00
Kevin Fenzi
e3e2cb1d93 odcs: retire service ( infra 12192 )
Time to retire ODCS. ELN is moved off and that was the last thing using
it. Thanks for all the service ODCS!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 18:21:51 +00:00
Stephen Smoogen
432a3a497b Go through and remove entries for EL6 and EL7
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>
2024-07-03 22:20:30 +00:00
Kevin Fenzi
d366194a22 module-build-service (mbs): retire service
With the EOL of Fedora 38 yesterday, we are no longer building any
modules and can retire our module build service.

Note that toddlers needs to be adjusted still, that will happen after
this.

Thanks for all the modules!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-22 13:38:53 -07:00
Kevin Fenzi
88683eef68 notifs: clean up some more missed parts from retirement
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-15 18:16:06 -08:00
Kevin Fenzi
20dc948173 notifs (old fmn): retire
We are retiring this in favor of the new service.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-15 12:28:28 -08:00
Kevin Fenzi
3808d867de value01/value01.stg: retire
These are old rhel7 instances. The only thing left on them is fedmsg-irc
(sending to one irc channel, fedora-releng). Move everything to use the
newer rhel8 value02 instead.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-15 12:13:38 -08:00
Kevin Fenzi
a60ca7159f nuancier: retire and remove from ansible
See https://pagure.io/fedora-infrastructure/issue/11371
This service is retired.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-15 10:44:00 -08:00
Pierre-Yves Chibon
2b46beed2c fedocal: drop everything related to fedocal in VM
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-06-23 17:30:27 +02:00
Kevin Fenzi
d3adeb3256 fedmsg / base: remove endpoints that no longer exist
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-08-04 16:14:54 -07:00
Pierre-Yves Chibon
36616fc521 fedmsg-relay.ci.centos.org has been decommissionned
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-08-04 18:50:46 +02:00
Pierre-Yves Chibon
0df925d9c4 fedmsg/base: pagure no longer uses fedmsg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-08-04 14:46:35 +02:00
Stephen Smoogen
9246a167db make sure endpoints no longer used are removed 2020-07-23 16:04:45 -04:00
Stephen Smoogen
93ea8c9830 do not copy a file which no longer exists 2020-07-23 15:11:05 -04:00
Stephen Smoogen
b91f19565a comment out various wsgi_fedmsg_service variables for systems no longer running fedmsg listeners. try to cut down noise of problems so we can determine mbs and pdc issues 2020-07-23 15:08:13 -04:00
Stephen Smoogen
257a130bc8 remove zanata2fedmsg. the zanata roles are still there for the time being as they are tied into webstizes and such 2020-07-22 15:22:37 -04:00
Stephen Smoogen
a6d987bc9e Remove more 'safe' entries from fedmsg endpoints to try and cut down
the noise of broken links in the system. Still not sure why some
things are supposed to fire up 8 processes but only 2 show up
2020-07-22 15:18:27 -04:00
Nils Philippsen
80f0769e0f Remove no-op template blocks
Renaming PHX2 -> IAD2 with existing IAD2 conditional template blocks
left some in the form...:

{% if datacenter == 'iad2' %}
...
{% elif datacenter == 'iad2' %}
...

...making the second block a no-op. Remove them.

Follow up to commit 7984b46eb7

Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-07-15 15:29:20 +00:00
Kevin Fenzi
a8509b6d69 fedmsg / base: fix several syntax issues around closing "s
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 15:40:22 -07:00
Kevin Fenzi
e3aeafc7d0 fedmsg / base: fix stray " from previous cleanup
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 15:37:49 -07:00
Kevin Fenzi
814ae5c182 drop qa_isolated.
We no longer need this as it was put in place when taskotron was going
to run user provided tests. Since the only left in 'qa' is openqa and it
only tests fedora images/updates and is still also in it's own vlan, we
no longer need to reject things in qa from the rest of their same vlan.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 15:34:00 -07:00
Kevin Fenzi
7984b46eb7 The great phx2 pruning run (1st cut).
Since we no longer have any machines in phx2, I have tried to remove
them from ansible. Note that there are still some places where we need
to remove them still: nagios, dhcp, named were not touched, and in cases
where it wasn't pretty clear what a conditional was doing I left it to
be cleaned up later.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 14:14:31 -07:00
Stephen Smoogen
95954ae184 add in vars for db-qa boxes and fix fedmsg relay 2020-05-29 15:02:07 -04:00
Stephen Smoogen
5c33d3c903 make the fedmsg template even more complicated because it needs to have different datacenters defined in it 2020-05-29 14:35:12 -04:00
Kevin Fenzi
a62dc49c9e iad2: rhel8 doesnt have python-psutil, it has python2-psutil
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-24 13:09:05 -07:00
Kevin Fenzi
4b7c31a882 cleanup: remove all the duplicate tests for selinux python bindings in favor of the ones in base.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-16 10:54:58 -07:00
Kevin Fenzi
779fa01877 autocloud: fare well autocloud, you served long and well...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
b0df3a4c5b fedmsg/base: fix task installing packages to not bomb out on rhel
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
e2cba9ae10 fedmsg/base: just change the conditional here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
ad0638379e fedmsg / base: quash another location for policycoreutils-python
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
a375c50fd6 fedmsg / base: drop policycoreutils-python as it no longer exists
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Mikolaj Izdebski
da18157e0f fedmsg/base: Drop Koschei endpoints 2020-04-24 21:34:11 +02:00
James Antill
a7435094a0 fedmsg/base: Convert from dnf/with_items to package/name. 2019-06-11 15:02:03 +00:00
Stephen Smoogen
95da782701 we had some entries for bodhi-backend03 which did not make sense to keep. remove them also 2019-05-28 17:23:38 +00:00
Stephen Smoogen
31d95ec505 remove almost all bodhi02 entries. Still have 1 for /usr/bin/bodhi-expire-overrides 2019-05-28 17:20:22 +00:00
Kevin Fenzi
4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Stephen Smoogen
194b0058c6 remove retrace02 from inventory and files. Leave mgmt as it is still plugged in and may show up. 2019-04-05 19:19:58 +00:00
Aurélien Bompard
d5977b86f4 Use the actual cert name
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2019-03-06 14:52:55 +00:00
Aurélien Bompard
603aafab17 Better this way
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2019-03-04 16:24:38 +00:00
Aurélien Bompard
c974c2bed1 Allow the messaging briges to sign any topic 2019-03-04 16:09:30 +00:00
Adam Williamson
6c390c669b First cut at migrating openqa-stg to fedmsg-3
This includes some tweaks to the core fedmsg roles to allow a
'generic' way of indicating that a box should use fedmsg-hub-3
not fedmsg-hub, and make the restart notification work for that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-11-26 10:53:16 -08:00
Adam Williamson
4d884a0e3c Fix more dnf loop deprecations in various roles
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-10-09 14:09:00 -07:00