Commit Graph

60 Commits

Author SHA1 Message Date
Aurélien Bompard
24afcc8bd4 Fix zodbot deployment on value01.rdu3
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-06-30 11:11:55 +02:00
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
iamyaash
b3d6a90b9a motd generic template added
migrated notes from infra/hosts

motd changes; excluding CSI infos

removed csi_* vars from group_vars; converted csi_purpose & csi_relationship into notes

fixed merge conflicts

minor changes; var

updating YAMLs & playbooks

udpated YAMLs & playbooks again

updated correctly; buildhw.yml

fixing merge conflicts

dest added in motd.yml
2025-01-28 01:10:14 +00:00
Ryan Lerch
dbdb0d9824 Fix the final 50ish casing linting errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-22 07:30:55 +10:00
Ryan Lerch
2cf38c1f17 [yaml-lint] fix yamllint errors and warnings on plabooks
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-25 19:04:25 +10:00
David Kirwan
5ad386ed6f zabbix: Enable zabbix agent on prod hosts
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-01-03 14:31:12 +00: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
a6d8faa041 Fix missing commas
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-09-11 11:57:24 -07:00
Kevin Fenzi
990839dc78 fix typo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-09-11 11:56:10 -07:00
Kevin Fenzi
dc7c5f824b value: mount nfs in staging for value02
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-09-11 11:54:25 -07:00
Ryan Lerch
a68bafa446 mote: set up shared volume for meetbot logs in staging
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-09-07 11:03:24 +10:00
Patrik Polakovič
c49697a0a3 Zabbix: add zabbix agent to groups/value playbook
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2023-09-05 10:09:38 +02:00
Andrew Heath
a961a5ed7d updating playbooks to work with ansible 2.14 2023-05-18 15:28:34 -04:00
Mikolaj Izdebski
0900e384a5 value: Put value02 on VPN
Resolves: https://pagure.io/fedora-infrastructure/issue/10278
2021-11-03 16:04:57 +01:00
Aurélien Bompard
74057f6ae5 Zodbot: create the right username in rabbitmq
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-16 10:10:52 +02:00
Kevin Fenzi
918956204d value: rw for the meetbot meeting logs in /srv
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-19 17:00:47 -07:00
Kevin Fenzi
5fafaafec3 value: add a keytab for zodbot on value02 in prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-17 12:34:40 -07:00
Kevin Fenzi
8a363ce123 value: add nfs volume for meeting logs
This allows us to share these between value01 and value02

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-17 12:25:05 -07:00
Kevin Fenzi
01043987b7 value02: Install rhel8 based value02.
This host will run zodbot with python3.
mote will stay on value01 until it can be moved/upgraded/re-written.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-17 11:58:36 -07:00
Ryan Lerch
1893bac187 value02: set up keytab correctly
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-07-05 18:32:07 +10:00
Ryan Lerch
009eed2e1c value02: simplyfy keytab/service section
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-07-02 13:29:08 +10:00
Ryan Lerch
812cf79d44 value02: fix playbook syntax error
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-07-02 11:08:44 +10:00
Ryan Lerch
84981b96ba value02: try to add keytab support
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-07-02 11:00:46 +10:00
Ryan Lerch
0f206f68fc value02.stg: add missing , in value playbook
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-06-08 07:30:57 +10:00
Kevin Fenzi
f4c53a495a value02.stg: adjust playbook to run old fedmsg/python2 stuff only on value01
value02 will be rhel8/python3. So for now we leave mote and fedmsg-irc
on value01 (python2/rhel7).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-06-07 14:03:34 -07: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
fa72446395 ipa/client: enable for value 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
Mark O'Brien
fdcd55c176 add ipa/client role to the rest of the playbookd for staging 2021-02-12 14:22:40 +00:00
Kevin Fenzi
0835ec7850 value01.stg: no fas_client or 2fa in stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-02 13:07:29 -07: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
Ralph Bean
2226a9eae9 s/nagios_client/nagios\/client/g 2016-02-23 02:33:30 +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
Kevin Fenzi
facc6b217c Drop 16 lines that we can collapse into one line. 2015-08-18 19:26:55 +00:00
Ralph Bean
b4f5637962 Push mote out to prod. 2015-06-16 19:00:42 +00:00
Ralph Bean
3f30b7437c Limit mote to stg. 2015-06-12 19:41:12 +00:00
Ralph Bean
d68824b7bd Try mote config in staging. 2015-06-12 14:09:41 +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