Commit Graph

103 Commits

Author SHA1 Message Date
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
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
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
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
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
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
James Antill
a7435094a0 fedmsg/base: Convert from dnf/with_items to package/name. 2019-06-11 15:02:03 +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
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
Ralph Bean
6cf2425a61 Declare fedmsg endpoints for odcs backend. 2018-06-21 13:28:05 +00:00
Kevin Fenzi
a8714caab3 first cut at changing all the old |changed to is changed per ansible deprecations 2018-05-07 23:51:48 +00:00
Kevin Fenzi
e51b6285a6 Shelve summershum 2018-04-10 21:39:56 +00:00
Patrick Uiterwijk
936e8b261a yum accepted pkg=, package calls it name=
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02:00
Patrick Uiterwijk
adcbf72f03 Packageize this, packageize that, packageize the world
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:25:52 +00:00
Brian Stinson
64cf041fc2 add the public fedmsg relay for ci.centos.org to the fedora staging infrastructure 2017-05-11 20:59:06 +00:00
Ralph Bean
536bd4b62f Remove item that should have been removed in 4885069d12. 2017-02-28 20:22:22 +00:00
Ralph Bean
4885069d12 Remove old dev config, no longer needed.
This stuff was for https://fedorahosted.org/rel-eng/ticket/6441
2017-02-22 15:40:59 +00:00
Ralph Bean
17d4fe3c1e Declare fedmsg endpoints for mbs backend. 2017-02-16 00:47:00 +00:00
Patrick Uiterwijk
d1e571667c Add fedmsgdpolicy tag
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-01-16 22:02:30 +00:00
Kevin Fenzi
b1a2d105c9 In ansible 2.2 always_run is depreciated. Switch to check_mode. 2016-11-01 16:29:49 +00:00
Kevin Fenzi
42afc9a637 Fix a bunch of places that didn't use the full correct mode 2016-08-08 19:53:57 +00:00
Ralph Bean
b1d0171a84 Allow composer.stg to receive messages from modularity.fic.o
See https://fedorahosted.org/rel-eng/ticket/6441
2016-07-13 13:16:56 +00:00
Kevin Fenzi
a32f8b9e4a Change ansible_fqdn to inventory_hostname. This fixes some few hosts that have incorrect reverse dns
and shouldn't break any others since we always use fully qualified in our inventory.
2016-05-11 15:08:50 +00:00
Ralph Bean
c9827a793b Let openqa01 publish to the bus. 2016-03-10 22:44:51 +00:00
Kevin Fenzi
63ac561e4e Revert "Set this to 0775 like it's set in a later play so they don't flip flop perms back and forth"
This reverts commit 81d9237c62.
2016-01-11 16:57:53 +00:00
Kevin Fenzi
81d9237c62 Set this to 0775 like it's set in a later play so they don't flip flop perms back and forth 2016-01-10 23:34:42 +00:00
Peter Robinson
b75c829a03 fedmsg: fix yum conditional when run on hosts with dnf 2015-12-16 07:04:54 +00:00