Commit graph

50 commits

Author SHA1 Message Date
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
Stephen Smoogen
550af56747 add some stuff to the data-analysis box 2016-03-07 20:41:48 +00:00
Ralph Bean
2226a9eae9 s/nagios_client/nagios\/client/g 2016-02-23 02:33:30 +00:00
Kevin Fenzi
3e2f2b496b Fix quoting 2016-02-19 16:21:27 +00:00
Kevin Fenzi
bf74660e29 Add a exclude on logserver so we don't have to wait hours for updates on restorecon on selinux policy updates. 2016-02-19 16:12:30 +00:00
Stephen Smoogen
609751fd8c no comma 2015-12-18 00:19:12 +00:00
Stephen Smoogen
7c3d5d5f31 make sure the mount is rw 2015-12-18 00:17:31 +00:00
Stephen Smoogen
37e6e4d939 and when the perms are right, might cthulhu will awake and merge stats 2015-12-17 21:51:59 +00:00
Kevin Fenzi
0fe0547300 Fix openvpn client on logserver. 2015-11-05 02:45:52 +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
c2e5f4597d Add missing playbooks to master playbook. (mariadb, torrent, beaker-virthost, secondary)
Move logserver to groups. It's only one host, but there might be more someday.
Merge the copr new cloud playbooks to the normal names since we are mirgated now to the new cloud.
Drop junk02 playbook as we don't have a junk02 currently.
Add commented people playbook to master, it's not ready yet, but should be noted there for when it is.
2015-05-28 13:32:01 +00:00
Renamed from playbooks/hosts/logserver.yml (Browse further)