2024-08-12 09:40:17 +02:00
|
|
|
---
|
|
|
|
### oefenweb.ufw
|
|
|
|
ufw_rules:
|
|
|
|
- rule: allow
|
|
|
|
to_port: 22
|
|
|
|
protocol: tcp
|
|
|
|
comment: 'ssh'
|
|
|
|
from_ip: 0.0.0.0/0
|
|
|
|
- rule: allow
|
2024-08-12 10:06:53 +02:00
|
|
|
to_port: 80 #TODO passt?
|
2024-08-12 09:40:17 +02:00
|
|
|
protocol: tcp
|
|
|
|
comment: 'munin'
|
|
|
|
|
|
|
|
# munin-node plugins fur master aus iomage hier einbauen TODO
|
2024-08-12 09:51:39 +02:00
|
|
|
# restic ordner TODO
|
2024-08-12 09:40:17 +02:00
|
|
|
|
|
|
|
### mrlesmithjr.ansible-manage-lvm
|
|
|
|
lvm_groups:
|
|
|
|
- vgname: vg_munin
|
|
|
|
disks:
|
|
|
|
- /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1
|
|
|
|
create: true
|
|
|
|
lvnames:
|
|
|
|
- lvname: lv_munin
|
|
|
|
size: +100%FREE
|
|
|
|
create: true
|
|
|
|
filesystem: xfs
|
|
|
|
mount: true
|
|
|
|
mntp: /var/lib/munin
|
|
|
|
manage_lvm: true
|
|
|
|
pvresize_to_max: true
|
2024-08-12 10:47:49 +02:00
|
|
|
|
2024-08-12 10:58:00 +02:00
|
|
|
### mgrote_munin_node
|
|
|
|
munin_node_bind_host: "127.0.0.1" # testen
|
|
|
|
munin_node_bind_port: "4949"
|
|
|
|
munin_node_allowed_cidrs: [127.0.0.1] # testen
|
2024-08-12 10:47:49 +02:00
|
|
|
|
2024-08-12 10:58:00 +02:00
|
|
|
### munin-master
|
|
|
|
munin_dbdir: /var/lib/munin/db
|
2024-08-12 10:49:45 +02:00
|
|
|
munin_htmldir: /var/www/html/munin
|
2024-08-12 10:58:00 +02:00
|
|
|
munin_logdir: /var/lib/munin/log
|
2024-08-12 10:49:45 +02:00
|
|
|
munin_rundir: /var/run/munin
|
|
|
|
munin_includedir: /etc/munin/conf.d
|
|
|
|
|
|
|
|
munin_html_strategy: cron
|
|
|
|
munin_graph_strategy: cron
|
|
|
|
munin_max_processes: 12
|
|
|
|
|
|
|
|
munin_cron_job: present
|
|
|
|
|
|
|
|
munin_admin_user: munin
|
2024-08-12 10:59:37 +02:00
|
|
|
munin_admin_password: "{{ lookup('viczem.keepass.keepass', 'munin_admin_pass', 'password') }}"
|
2024-08-12 10:49:45 +02:00
|
|
|
|
|
|
|
munin_hosts:
|
|
|
|
- name: "localhost"
|
|
|
|
address: "127.0.0.1"
|
|
|
|
extra: ["use_node_name yes"]
|
|
|
|
|
|
|
|
|
2024-08-12 10:58:00 +02:00
|
|
|
# notfications config
|