2023-06-23 16:04:19 +02:00
|
|
|
---
|
2023-11-24 14:11:59 +01:00
|
|
|
### mgrote_netplan
|
|
|
|
netplan_configure: false
|
|
|
|
|
2023-11-29 21:15:50 +01:00
|
|
|
### mgrote_postfix
|
2023-10-25 22:26:17 +02:00
|
|
|
postfix_erlaubte_netzwerke: "127.0.0.0/8 192.168.2.0/24 192.168.3.0/24"
|
2023-08-15 10:40:01 +02:00
|
|
|
|
2024-05-25 20:58:07 +02:00
|
|
|
### mgrote_restic
|
|
|
|
restic_repository: "//192.168.2.54/restic"
|
|
|
|
|
2023-11-29 21:15:50 +01:00
|
|
|
### mgrote_user
|
2023-10-25 22:26:17 +02:00
|
|
|
users:
|
|
|
|
- username: root
|
2024-07-09 17:35:56 +02:00
|
|
|
password: "{{ lookup('viczem.keepass.keepass', 'root_linux_password_hash_proxmox', 'password') }}"
|
2023-10-25 22:26:17 +02:00
|
|
|
update_password: always
|
2024-10-08 16:46:30 +02:00
|
|
|
groups:
|
|
|
|
- ssh
|
|
|
|
- sudo
|
|
|
|
- root
|
2023-10-25 22:26:17 +02:00
|
|
|
state: present
|
|
|
|
allow_sudo: true
|
|
|
|
allow_passwordless_sudo: true
|
|
|
|
- username: mg
|
2024-07-09 17:35:56 +02:00
|
|
|
password: "{{ lookup('viczem.keepass.keepass', 'mg_linux_password_hash', 'password') }}"
|
2023-10-25 22:26:17 +02:00
|
|
|
update_password: always
|
2024-10-08 16:46:30 +02:00
|
|
|
groups:
|
|
|
|
- ssh
|
|
|
|
- sudo
|
2023-10-25 22:26:17 +02:00
|
|
|
state: present
|
|
|
|
public_ssh_key: "{{ ssh_public_key_mg }}"
|
|
|
|
allow_sudo: true
|
|
|
|
allow_passwordless_sudo: true
|
|
|
|
- username: ansible-user
|
2024-07-09 17:35:56 +02:00
|
|
|
password: "{{ lookup('viczem.keepass.keepass', 'ansible_user_linux_password_hash', 'password') }}"
|
2023-10-25 22:26:17 +02:00
|
|
|
update_password: always
|
2024-10-08 16:46:30 +02:00
|
|
|
groups:
|
|
|
|
- ssh
|
|
|
|
- sudo
|
2023-10-25 22:26:17 +02:00
|
|
|
state: present
|
|
|
|
public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu
|
|
|
|
allow_sudo: true
|
|
|
|
allow_passwordless_sudo: true
|
2024-02-15 13:52:00 +01:00
|
|
|
|
|
|
|
### mgrote_munin_node
|
|
|
|
munin_node_plugins:
|
|
|
|
- name: chrony
|
2024-04-04 09:48:09 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/chrony/chrony
|
2024-02-15 13:52:00 +01:00
|
|
|
- name: systemd_status
|
2024-04-04 09:48:09 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/systemd/systemd_status
|
2024-02-15 13:52:00 +01:00
|
|
|
- name: systemd_mem
|
2024-04-04 09:48:09 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/systemd/systemd_mem
|
2024-02-15 13:52:00 +01:00
|
|
|
config: |
|
|
|
|
[systemd_mem]
|
|
|
|
env.all_services true
|
|
|
|
- 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
|
|
|
|
- name: zfs_arcstats
|
2024-04-04 09:48:09 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/zfs/zfs_arcstats
|
2024-02-15 13:52:00 +01:00
|
|
|
- name: zfsonlinux_stats_
|
2024-04-04 09:48:09 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/zfs/zfsonlinux_stats_
|
2024-02-15 13:52:00 +01:00
|
|
|
- name: zpool_iostat
|
2024-04-04 09:48:09 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/zfs/zpool_iostat
|
2024-02-15 13:52:00 +01:00
|
|
|
- name: zfs_list
|
2024-04-04 09:48:09 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/zfs/zfs_list
|
2024-02-15 13:52:00 +01:00
|
|
|
config: |
|
|
|
|
[zfs_list]
|
|
|
|
env.ignore_datasets_pattern autodaily
|
|
|
|
- name: zfs_count
|
2024-04-04 09:48:09 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/zfs/zfs_pool_dataset_count
|
2024-02-15 13:52:00 +01:00
|
|
|
- name: zpool_iostat
|
2024-04-04 09:48:09 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/zfs/zpool_iostat
|
2024-02-15 13:52:00 +01:00
|
|
|
- name: zpool_capacity
|
2024-04-04 09:48:09 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/zfs/zpool_capacity
|
2024-02-15 13:52:00 +01:00
|
|
|
munin_node_disabled_plugins:
|
|
|
|
- meminfo # zu hohe last
|
|
|
|
- hddtemp2 # ersetzt durch hddtemp_smartctl
|
|
|
|
- ntp # verursacht zu viele dns ptr request
|
|
|
|
- hddtempd # ersetzt durch hddtemp_smartctl
|
|
|
|
- squid_cache # proxmox
|
|
|
|
- squid_objectsize # proxmox
|
|
|
|
- squid_requests # proxmox
|
|
|
|
- squid_traffic # proxmox
|
|
|
|
- lvm_
|
|
|
|
- timesync
|
|
|
|
- lxc_guests
|
|
|
|
munin_node_allowed_cidrs:
|
|
|
|
- 192.168.3.0/24
|
|
|
|
- 192.168.2.0/24
|
|
|
|
...
|