Commit graph

46 commits

Author SHA1 Message Date
Aurélien Bompard
d083b291d3
sent_topics can't be a list, it has to be a single regexp
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-07-07 09:09:24 +02:00
Aurélien Bompard
4249161ad0
RabbitMQ: add topic auth to more apps
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-07-05 08:35:10 +02:00
Nils Philippsen
2d4ec8d259 Apply openvpn/client role before ipa/client
This is so hosts on the Fedora VPN are able to talk to IPA before they
try to enroll.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 18:19:11 +01:00
Nils Philippsen
49cafcccf4 ipa/client: enable for notifs in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:33 +01:00
Kevin Fenzi
ca10e37592 playbooks / staging: adjust playbooks for staging to configure fedmsg if needed
When we setup things we didn't setup fedmsg in iad2 staging.
Now we are using it, so we should configure it until we get rid of it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-01 14:51:09 -08:00
Kevin Fenzi
7aba98780e fedora-messaging-migration: Patches from Karsten Hopp to move script calling things from fedmsg to fedora-messaging
We will need to check these services after pushing this out and confirm
that they are still emitting or hearing messages they need to.

Many thanks Karsten!
2020-04-24 21:34:16 +02:00
Kevin Fenzi
80d8694583 ansible: fix -- mistake for import_playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 18:23:42 +00:00
Kevin Fenzi
2d1cf41c9f ansible: fix the virt-create calls
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 18:19:27 +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
3e3632fa62 fix all playbooks so that yumrepos is a pre_task 2018-10-31 15:38:38 +00:00
Kevin Fenzi
afef097a3d switch all the include tasks to import tasks 2017-10-17 17:37:03 +00:00
Kevin Fenzi
d9ee0059b4 typo on a massive scale 2017-10-15 20:33:11 +00:00
Kevin Fenzi
69fd8d117a switch all the handlers to import and drop the global static import 2017-10-15 20:29:59 +00:00
Kevin Fenzi
1bf960425f this needs to be imported not included 2017-10-15 19:54:19 +00:00
Kevin Fenzi
ceff9bfca4 first stab at replacing include with include_playbook or includ_tasks 2017-10-15 19:46:08 +00:00
Stephen Smoogen
d0b6c8ce06 and this is how you break everything before going on a week vacation 2017-05-05 22:12:33 +00:00
Kevin Fenzi
0acfaa2a7e Fix handlers, roles, and tasks to be handlers_path, roles_path and tasks_path so as not to conflict with ansible variables.
Fix duplicate definition of become default that was in group_vars/all as well as vars/global.
2017-04-13 15:46:14 +00:00
Kevin Fenzi
04a52b8667 Death to all trailing whitespace. 2016-08-08 19:36:31 +00:00
Michael Scherer
fb63dfdce1 Remove duplicate role, since mod_wsgi pull apache now 2016-08-08 16:34:41 +00:00
Michael Scherer
07f04462c3 Move mod_wsgi to a role rather than a included tasks 2016-08-08 16:34:12 +00:00
Ralph Bean
2226a9eae9 s/nagios_client/nagios\/client/g 2016-02-23 02:33:30 +00:00
Kevin Fenzi
9815e9ac58 Use : instead of ; between host/group names. ; is depreciated and will go away someday. 2016-02-02 21:03:19 +00:00
Kevin Fenzi
2f35b45dfc Drop denyhosts role.
We never used it on rhel7 hosts, and don't want to bother on rhel6/fedora either anymore.
2016-01-05 21:05:35 +00:00
c6f5b2ff0e apache must be before fedmsg/base so that fedmsg/base can chgrp to apache
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-08-29 06:18:50 +00:00
Kevin Fenzi
facc6b217c Drop 16 lines that we can collapse into one line. 2015-08-18 19:26:55 +00:00
Kevin Fenzi
275f4b5203 Change all instances of ansible_distribution_major_version to filter to int for comparisons. 2015-05-27 22:27:39 +00:00
Kevin Fenzi
b5cc837e99 Finally move the tasks/apache.yml to a role. This allows us to order it with the other roles. 2015-05-07 19:06:35 +00:00
Kevin Fenzi
d64ab29c0e New ansible doesn't like expanding {{ private }} in the same list of vars files it's defined in. 2015-01-09 22:59:18 +00:00
Ralph Bean
1e49aa493d Remove all accelerate-mode knobs and toggles now that pipelining is a go. 2014-11-12 19:15:06 +00:00
Ralph Bean
4a56bc9dd7 Put apache as a pre_task so the user is there for fedmsg/base. 2014-11-12 19:08:20 +00:00
Ralph Bean
a65c6190d3 Aim notifs-web stg at rhel7. 2014-11-12 18:48:17 +00:00
Pierre-Yves Chibon
6787706dc5 Replace the openvpn task by the openvpn role 2014-08-01 18:23:40 +02:00
Kevin Fenzi
800c03d37e Move hosts to a role and put it before fas_client so initial runs can find admin. 2014-06-23 00:49:31 +00:00
Kevin Fenzi
ef4a44c44c Convert sudo to a role so we can include it before roles/plays that use sudo. 2014-06-14 20:58:52 +00:00
Kevin Fenzi
25dc54212b Set accelerate to false by default, override with -e acclerated=True for your playbook runs. 2014-05-19 15:22:24 +00:00
Ralph Bean
655d015200 Add some hosts to collectd which were not there before. 2014-03-21 13:46:16 +00:00
Ralph Bean
9102d7a199 Renamespace the notifs roles. 2014-03-14 15:53:53 +00:00
Ralph Bean
edbc9b21cf Renamespace the fedmsg module. 2014-03-14 15:47:11 +00:00
Kevin Fenzi
206ed3f776 Now that we have roles_path, drop the long path on all the roles. 2014-01-23 17:12:40 +00:00
Kevin Fenzi
b9ff6d133d Revert "Move accelerate: true to global vars."
This reverts commit 0953ea5efa.

Looks like this doesn't work as a var, and accel might just get dropped in favor of new ssh soon.
2014-01-08 20:35:05 +00:00
Kevin Fenzi
0953ea5efa Move accelerate: true to global vars. 2014-01-08 19:28:00 +00:00
Kevin Fenzi
b929678ff1 Hard code vars_path for now. 2014-01-06 18:22:18 +00:00
Kevin Fenzi
67bc3b4920 vars is reserved, use vars_path for variable path 2014-01-06 17:49:22 +00:00
Kevin Fenzi
f7d56ff2b1 Fix old variable usage. Patch from janeznemanic. Thanks! 2014-01-01 19:15:11 +00:00
Ralph Bean
9d36f8a375 First stab at a notifs-frontend role for staging. 2013-12-09 18:33:56 +00:00
Ralph Bean
4391055257 First try at fmn playbooks. 2013-11-25 17:39:28 +00:00