Commit Graph

60 Commits

Author SHA1 Message Date
James Antill
a4aab5d51c log01: Install simple_message_to_bus for countme.
Signed-off-by: James Antill <james@and.org>
2025-07-16 11:10:56 -04:00
Nils Philippsen
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
Kevin Fenzi
243687ab0e log01.rdu3: also mount nfs and setup other crons on log01.rdu3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-22 09:13:26 -07: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
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
Aurélien Bompard
d23b6f2d9b s/user_username/user_name/g
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:12:47 +01:00
Ryan Lerch
4a4e7e07cb [ansible-lint] prefix variable names for rabbit/user role
ansible-lint requires that variables for roles are prefixed with the
name of the role. This commit prefixes the variables for the
rabbit/user role with user_ as required by ansible-lint

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-12-03 10:48:45 +01: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
017235c79d zabbix: add agent to logger systems
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-04-23 13:07:12 +01:00
Andrew Heath
a961a5ed7d updating playbooks to work with ansible 2.14 2023-05-18 15:28:34 -04:00
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
a766ec6416 Merge awstats role into web-data-analysis
This is to enable running the syncing and combining scripts in
series rather than from independently scheduled cron jobs.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-09-09 10:38:38 +00:00
Nils Philippsen
5e09dce82d Import fedora-messaging-utils role
Importing the role rather than listing it in the playbook lets its tasks
have the tags used in the importing role, i.e. should ensure they are
run when the things that need simple_message_to_bus are installed.

Additionally, don't attempt to install it manually from
web-data-analysis (it isn't found because it lives in a different role).

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-08-16 06:02:37 +00:00
Adam Saleh
db936062b3 Add more message-based tracing to log01 scripts 2021-08-11 11:18:17 +00:00
Nils Philippsen
dc86a465e9 Add logging role
This installs configuration and certificates to enable sending messages
to the bus using fedora-messaging.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-07-23 13:06:23 +02:00
Nils Philippsen
15d5b3c80e Set up logging user in RabbitMQ
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-07-23 13:06:21 +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
323cec75df ipa/client: enable for logging in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:33 +01: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
66851a6a21 logserver: set domain_can_mmap_files for collectd
The collectd graph.cgi needs to mmap rrd files to properly show the
graphs and such in the web view.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-29 17:10:46 -07:00
Stephen Smoogen
c08d6270c4 remove packages not needed for data-analysis on log01 2020-06-19 12:50:19 -04:00
Stephen Smoogen
044ed77a78 and this is how you break logservers for wwoods 2020-06-17 12:15:31 -04:00
Kevin Fenzi
8ffeaeae52 logserver: disable fedora_stats as it is not moved over yet
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 20:30:42 -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
Kevin Fenzi
883adb5c45 logserver: also run vpn in iad2 to bastion01.iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-18 15:09:07 -07:00
Kevin Fenzi
2fea9ca350 iad2: logserver: a few more services we do not want in iad2 at this time
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 16:16:07 -07:00
Kevin Fenzi
1186c45d73 iad2: logserver: do not install epylog here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 16:00:17 -07:00
Kevin Fenzi
927ff7f17c iad2: adjust logserver playbook to handle iad2 log server
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 15:08:55 -07: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
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
Kevin Fenzi
00f89905c0 for now, lets move back to NFSv3 until storage issue is figured out 2017-09-29 21:53:59 +00:00
Stephen Smoogen
efd7efccd5 move all nfsv4 mounts to 4.0 2017-08-25 17:04:22 +00:00
Stephen Smoogen
4b66a02723 add explicite sec=sys to nfsvers=4 mounts so writes work consistently. 2017-08-14 21:31:06 +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
92b5d1bcc1 need to include vars too 2017-03-06 23:34:35 +00:00
Kevin Fenzi
da7b498927 also include handlers here 2017-03-06 23:31:29 +00:00
Patrick Uiterwijk
c8f5fa271c Switch epylog to krb5
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-24 19:53:51 +00:00
Kevin Fenzi
04a52b8667 Death to all trailing whitespace. 2016-08-08 19:36:31 +00:00
Kevin Fenzi
9596023246 Move most netapp nfs mounts to nfsv4 2016-05-11 16:12:39 +00:00
Michael Scherer
00d7dd5777 Move the unbound related handlers to the role 2016-04-04 14:27:54 +00:00