2023-06-23 16:04:19 +02:00
|
|
|
---
|
|
|
|
### mgrote.restic
|
|
|
|
restic_folders_to_backup: "/ /etc/pve"
|
|
|
|
### mgrote.user
|
|
|
|
users:
|
|
|
|
- username: root
|
|
|
|
password: "{{ lookup('keepass', 'root_linux_password_hash_proxmox', 'password') }}"
|
|
|
|
update_password: always
|
|
|
|
groups: ssh, sudo, root
|
|
|
|
state: present
|
|
|
|
allow_sudo: true
|
|
|
|
allow_passwordless_sudo: true
|
|
|
|
- username: mg
|
|
|
|
password: "{{ lookup('keepass', 'mg_linux_password_hash', 'password') }}"
|
|
|
|
update_password: on_create
|
|
|
|
groups: ssh, sudo
|
|
|
|
state: present
|
|
|
|
public_ssh_key: "{{ ssh_public_key_mg }}"
|
|
|
|
allow_sudo: true
|
|
|
|
allow_passwordless_sudo: true
|
|
|
|
- username: ansible-user
|
|
|
|
password: "{{ lookup('keepass', 'ansible_user_linux_password_hash', 'password') }}"
|
|
|
|
update_password: on_create
|
|
|
|
groups: ssh, sudo
|
|
|
|
state: present
|
2023-07-03 22:42:46 +02:00
|
|
|
public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu
|
2023-06-23 16:04:19 +02:00
|
|
|
allow_sudo: true
|
|
|
|
allow_passwordless_sudo: true
|
2023-07-05 11:47:57 +02:00
|
|
|
|
2023-06-23 16:04:19 +02:00
|
|
|
### mgrote.apt_manage_packages
|
|
|
|
apt_packages_extra:
|
|
|
|
- ifupdown2
|
|
|
|
- bmon
|
|
|
|
- qemu-guest-agent
|
|
|
|
- open-vm-tools
|
|
|
|
|
|
|
|
### mgrote.munin-node
|
|
|
|
munin_node_plugins:
|
2023-07-05 11:47:57 +02:00
|
|
|
- name: chrony
|
|
|
|
src: https://git.mgrote.net/Mirror/munin-contrib/raw/branch/master/plugins/chrony/chrony
|
2023-06-23 16:04:19 +02:00
|
|
|
- name: systemd_status
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/systemd/systemd_status
|
|
|
|
- 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
|
|
|
|
- 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
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/zfs/zfs_arcstats
|
|
|
|
- name: zfsonlinux_stats_
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/zfs/zfsonlinux_stats_
|
|
|
|
- name: zpool_iostat
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/zfs/zpool_iostat
|
|
|
|
- name: zfs_list
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/zfs/zfs_list
|
|
|
|
config: |
|
|
|
|
[zfs_list]
|
|
|
|
env.ignore_datasets_pattern autodaily
|
|
|
|
- name: zpool_capacity
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/zfs/zpool_capacity
|
|
|
|
- name: kvm_mem
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/libvirt/kvm_mem
|
|
|
|
- name: kvm_net
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/libvirt/kvm_net
|
|
|
|
- name: kvm_io
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/libvirt/kvm_io
|
|
|
|
config: |
|
|
|
|
[kvm_io]
|
|
|
|
user root
|
|
|
|
- name: kvm_cpu
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/libvirt/kvm_cpu
|
|
|
|
- name: proxmox_count
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/proxmox/proxmox_vm_count
|
|
|
|
config: |
|
|
|
|
[proxmox_count]
|
|
|
|
user root
|
|
|
|
group root
|
|
|
|
- name: zfs_count
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/zfs/zfs_pool_dataset_count
|
|
|
|
- name: ksm_
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/system/kernel_same_page_merging
|
|
|
|
- name: lxc_guests
|
|
|
|
src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/lxc/lxc_guests
|
|
|
|
config: |
|
|
|
|
[lxc_guests]
|
|
|
|
user root
|
|
|
|
group root
|
|
|
|
munin_node_disabled_plugins:
|
|
|
|
- name: meminfo # zu hohe last
|
|
|
|
- name: hddtemp2 # ersetzt durch hddtemp_smartctl
|
|
|
|
- name: ntp # verursacht zu viele dns ptr request
|
|
|
|
- name: hddtempd # ersetzt durch hddtemp_smartctl
|
|
|
|
- name: mt_system_crs309 # switch ausgebaut
|
|
|
|
- name: squid_cache # proxmox
|
|
|
|
- name: squid_objectsize # proxmox
|
|
|
|
- name: squid_requests # proxmox
|
|
|
|
- name: squid_traffic # proxmox
|
|
|
|
- name: solarman_api_inverter
|
|
|
|
- name: deye
|
|
|
|
- name: lvm_
|
|
|
|
- name: apcupsd_ww
|
|
|
|
- name: slab
|
|
|
|
- name: apcupsd_pwr
|
|
|
|
- name: timesync
|
|
|
|
- name: http_response
|
2023-07-05 11:47:57 +02:00
|
|
|
- name: timesync
|
2023-06-23 16:07:40 +02:00
|
|
|
|
2023-06-23 16:04:19 +02:00
|
|
|
# Ansible Variablen
|
|
|
|
### sudo
|
|
|
|
sudo: false
|