2020-08-19 12:29:49 +02:00
|
|
|
---
|
2022-05-22 21:08:44 +02:00
|
|
|
### mrlesmithjr.ansible-manage-lvm
|
|
|
|
lvm_groups:
|
|
|
|
- vgname: vg_acng
|
|
|
|
disks:
|
|
|
|
- /dev/sdb
|
|
|
|
create: true
|
|
|
|
lvnames:
|
|
|
|
- lvname: lv_acng
|
2022-05-22 21:12:36 +02:00
|
|
|
size: +100%FREE
|
2022-05-22 21:08:44 +02:00
|
|
|
create: true
|
|
|
|
filesystem: xfs
|
|
|
|
mount: true
|
|
|
|
mntp: /var/cache/apt-cacher-ng
|
|
|
|
manage_lvm: true
|
2022-05-22 21:12:36 +02:00
|
|
|
pvresize_to_max: true
|
2020-08-19 12:29:49 +02:00
|
|
|
### oefenweb.ufw
|
|
|
|
ufw_rules:
|
|
|
|
- rule: allow
|
|
|
|
to_port: 22
|
|
|
|
protocol: tcp
|
|
|
|
comment: 'ssh'
|
2021-10-06 10:18:23 +02:00
|
|
|
from_ip: 0.0.0.0/0
|
2021-06-16 21:57:28 +02:00
|
|
|
- rule: allow
|
|
|
|
to_port: 4949
|
|
|
|
protocol: tcp
|
|
|
|
comment: 'munin'
|
|
|
|
from_ip: 192.168.2.144/24
|
2020-08-19 12:29:49 +02:00
|
|
|
- rule: allow
|
2021-10-17 19:40:18 +02:00
|
|
|
to_port: "{{ acng_server_port }}"
|
2020-08-19 12:29:49 +02:00
|
|
|
comment: 'acng'
|
2021-10-06 10:18:23 +02:00
|
|
|
from_ip: 0.0.0.0/0
|
2020-12-09 10:21:40 +01:00
|
|
|
### mgrote.acng
|
|
|
|
acng_server_port: 9999
|
2021-03-11 09:41:00 +01:00
|
|
|
acng_server_exthreshold: "60" #hebt Pakete 60 Tage auf
|
2021-04-29 07:58:28 +02:00
|
|
|
acng_server_auth_user: acngadmin
|
2021-04-29 11:49:56 +02:00
|
|
|
acng_server_auth_pass: "{{ lookup('keepass', 'acng_webinterface', 'password') }}"
|
2022-06-12 22:24:12 +02:00
|
|
|
### mgrote.munin-node
|
2021-09-13 19:26:31 +02:00
|
|
|
munin_node_plugins:
|
2022-02-18 20:34:43 +01:00
|
|
|
- name: timesync
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/systemd/timesync_status
|
2021-06-22 13:57:45 +02:00
|
|
|
- name: systemd_status
|
2021-11-07 12:22:11 +01:00
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/systemd/systemd_status
|
2022-06-12 22:24:12 +02:00
|
|
|
- name: systemd_mem
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/systemd/systemd_mem
|
|
|
|
config: |
|
|
|
|
[systemd_mem]
|
|
|
|
env.all_services true
|
2021-09-13 19:26:31 +02:00
|
|
|
- name: lvm_
|
2021-11-07 12:22:11 +01:00
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/disk/lvm_
|
2021-09-13 19:26:31 +02:00
|
|
|
config: |
|
|
|
|
[lvm_*]
|
|
|
|
user root
|
2021-10-17 19:40:18 +02:00
|
|
|
- name: fail2ban
|
|
|
|
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/fail2ban
|
|
|
|
config: |
|
|
|
|
[fail2ban]
|
|
|
|
env.client /usr/bin/fail2ban-client
|
|
|
|
env.config_dir /etc/fail2ban
|
|
|
|
user root
|
2022-06-12 22:24:12 +02:00
|
|
|
- name: acng
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/apt/acng
|
|
|
|
config: |
|
|
|
|
env.logfile /var/log/apt-cacher-ng/apt-cacher.log
|
2022-01-22 11:33:49 +01:00
|
|
|
- name: http_response
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/http/http_response
|
|
|
|
config: |
|
|
|
|
[http_response]
|
|
|
|
env.sites http://acng.grote.lan:9999/acng-report.html
|
|
|
|
env.max_time 20
|
|
|
|
env.short_label true
|
|
|
|
env.follow_redirect true
|