Commit Graph

39 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
Kevin Fenzi
9876752df2 Fix renamed handler for restart nrpe
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-24 14:01:45 -08: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
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
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
Aurélien Bompard
58932984ff Don't start fedmsg in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-09 17:36:39 +01:00
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Pierre-Yves Chibon
9d4623b8f8 fedmsg/hub: simplify the logic when install fedmsg-hub
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-05-06 13:57:25 +02: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
f6fc04578b remove the lower file limit as we have lots of hosts and services needing open files 2019-03-05 14:00:10 +00:00
Mikolaj Izdebski
7840c992cc Try different way of passing memory limit
This reverts commit 830c854cf7.
2019-02-21 18:53:19 +01:00
Mikolaj Izdebski
bd7d26e84c Improve comments for fedmsg memory limit 2019-02-21 18:44:26 +01:00
Mikolaj Izdebski
29c150fcff Try implementing fedmsg memory limit on RHEL 7 2019-02-21 18:25:56 +01:00
Mikolaj Izdebski
ecc698135a For testing set very fedmsg-hub low memory limit on odcs-backend-stg 2019-02-21 18:09:17 +01:00
Mikolaj Izdebski
565758665c Refactor fedmsg-hub memory limit 2019-02-21 18:02:12 +01:00
Kevin Fenzi
252c0ef7e9 fedmsg/hub: we also need a nrpe handler here because we call it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-02-20 02:00:23 +00:00
Mikolaj Izdebski
3bb85faa89 Restart nrpe after putting fedmsg monitoring socket in place 2019-02-12 11:03:13 +01: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
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
Adam Williamson
9aef9dee97 fedmsg/hub: make it dnf/yum agnostic 2016-03-08 14:00:47 -08:00
Kevin Fenzi
2117a67027 And change this one to 2775 2016-01-11 16:58:57 +00:00
Ralph Bean
b045b9699c Set ownership on /var/run/fedmsg/. 2015-11-05 16:29:40 +00:00
Kevin Fenzi
df6ea0d351 Add a common tag to all the fedmsg monitor socket perms stuff 2015-03-18 13:11:37 +00:00
Praveen Kumar
4b1e5162d7 Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
Ralph Bean
2e3ebf1ab4 This should come last. 2014-10-01 16:33:20 +00:00
Ralph Bean
e5e380857e Ignore these errors. 2014-07-24 19:57:05 +00:00
Ralph Bean
d87df7ff61 Apparently this is how you make default vars for roles. 2014-07-18 18:04:09 +00:00
Ralph Bean
ebe32c7bef Give a default value. 2014-07-18 18:04:09 +00:00
Ralph Bean
a411c40da9 s/present/file/ 2014-07-17 19:12:53 +00:00
Ralph Bean
4392717e7c Try setting permissions on the monitoring socket for fedmsg-hub. 2014-07-17 19:11:10 +00:00
Ralph Bean
45e5b2536f Yes. PY2 is the same as 'not PY3'. 2014-07-17 01:52:44 +00:00
Ralph Bean
21d378da97 Have to restart here too.. 2014-07-17 01:47:11 +00:00
Ralph Bean
4464657024 Websocket server config. 2014-07-17 01:40:44 +00:00
Ralph Bean
edbc9b21cf Renamespace the fedmsg module. 2014-03-14 15:47:11 +00:00