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'
|
|
|
|
|
2024-08-12 15:35:21 +02:00
|
|
|
### mgrote_restic
|
|
|
|
restic_folders_to_backup: "/usr/local /etc /root /home /var/lib/munin"
|
2024-08-12 09:40:17 +02:00
|
|
|
|
2024-08-12 11:43:40 +02:00
|
|
|
### geerlingguy.apache
|
|
|
|
apache_vhosts:
|
|
|
|
# Additional optional properties: 'serveradmin, serveralias, extra_parameters'.
|
|
|
|
- servername: "munin.mgrote.net"
|
|
|
|
documentroot: "/var/cache/munin/www"
|
|
|
|
|
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
|
2024-08-12 14:21:11 +02:00
|
|
|
munin_node_bind_host: "127.0.0.1"
|
2024-08-12 10:58:00 +02:00
|
|
|
munin_node_bind_port: "4949"
|
2024-08-12 14:21:11 +02:00
|
|
|
munin_node_allowed_cidrs: [127.0.0.1]
|
2024-08-12 10:49:45 +02:00
|
|
|
|
2024-08-12 14:21:11 +02:00
|
|
|
### mgrote_munin_master
|
2024-08-12 16:05:07 +02:00
|
|
|
munin_enable_alerts: true
|
|
|
|
munin_alerts_to: info@mgrote.net
|
2024-08-12 10:49:45 +02:00
|
|
|
munin_hosts:
|
2024-08-12 14:28:39 +02:00
|
|
|
- name: "{{ ansible_fqdn }}.mgrote.net"
|
2024-08-12 10:49:45 +02:00
|
|
|
address: "127.0.0.1"
|
2024-08-12 14:46:27 +02:00
|
|
|
extra: ["use_node_name yes"]
|
2024-08-12 14:21:11 +02:00
|
|
|
- name: fileserver3.mgrote.net
|
|
|
|
address: fileserver3.mgrote.net
|
2024-08-12 14:46:27 +02:00
|
|
|
extra: ["use_node_name yes"]
|
2024-08-12 14:21:11 +02:00
|
|
|
- name: pve5.mgrote.net
|
|
|
|
address: pve5.mgrote.net
|
2024-08-12 14:46:27 +02:00
|
|
|
extra: ["use_node_name yes"]
|
2024-08-12 14:21:11 +02:00
|
|
|
- name: forgejo.mgrote.net
|
|
|
|
address: forgejo.mgrote.net
|
2024-08-12 14:46:27 +02:00
|
|
|
extra: ["use_node_name yes"]
|
2024-08-12 14:21:11 +02:00
|
|
|
- name: docker10.mgrote.net
|
|
|
|
address: docker10.mgrote.net
|
2024-08-12 14:46:27 +02:00
|
|
|
extra: ["use_node_name yes"]
|
2024-08-12 14:21:11 +02:00
|
|
|
- name: pbs.mgrote.net
|
|
|
|
address: pbs.mgrote.net
|
2024-08-12 14:46:27 +02:00
|
|
|
extra: ["use_node_name yes"]
|
2024-08-12 14:21:11 +02:00
|
|
|
- name: blocky.mgrote.net
|
|
|
|
address: blocky.mgrote.net
|
2024-08-12 14:46:27 +02:00
|
|
|
extra: ["use_node_name yes"]
|
2024-08-12 14:21:11 +02:00
|
|
|
- name: ldap.mgrote.net
|
|
|
|
address: ldap.mgrote.net
|
2024-08-12 15:14:40 +02:00
|
|
|
extra: ["use_node_name yes"]
|