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_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
|
|
|
|
groups: ssh, sudo, root
|
|
|
|
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
|
|
|
|
groups: ssh, sudo
|
|
|
|
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
|
|
|
|
groups: ssh, sudo
|
|
|
|
state: present
|
|
|
|
public_ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJcBwOjanQV6sFWaTetqpl20SVe3aRzGjKbsp7hKkDCE mg@irantu
|
|
|
|
allow_sudo: true
|
|
|
|
allow_passwordless_sudo: true
|
2023-06-23 16:04:19 +02:00
|
|
|
|
2024-04-14 21:40:43 +02:00
|
|
|
### mgrote_cv4pve_autosnap
|
|
|
|
cv4pve_api_user: root@pam!cv4pve-autosnap
|
2024-07-09 17:35:56 +02:00
|
|
|
cv4pve_api_token: "{{ lookup('viczem.keepass.keepass', 'cv4pve_api_token', 'password') }}"
|
2024-04-14 21:40:43 +02:00
|
|
|
cv4pve_vmid: all,-115
|
|
|
|
cv4pve_keep_snapshots: 5
|
2024-05-25 20:29:07 +02:00
|
|
|
cv4pve_version: v1.14.10
|
2024-04-14 21:40:43 +02:00
|
|
|
|
2023-11-29 21:15:50 +01:00
|
|
|
### mgrote_apt_manage_packages
|
2023-10-25 22:26:17 +02:00
|
|
|
apt_packages_extra:
|
|
|
|
- ifupdown2
|
|
|
|
- bmon
|
|
|
|
- qemu-guest-agent
|
|
|
|
- open-vm-tools
|
|
|
|
- systemd-boot
|
|
|
|
|
2024-02-15 13:52:00 +01:00
|
|
|
### mgrote_munin_node
|
|
|
|
munin_node_plugins:
|
|
|
|
- name: chrony
|
2024-09-12 14:29:56 +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-09-12 14:29:56 +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-09-12 14:29:56 +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
|
2024-09-12 14:29:56 +02:00
|
|
|
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/fail2ban
|
2024-02-15 13:52:00 +01:00
|
|
|
config: |
|
|
|
|
[fail2ban]
|
|
|
|
env.client /usr/bin/fail2ban-client
|
|
|
|
env.config_dir /etc/fail2ban
|
|
|
|
user root
|
|
|
|
- name: zfs_arcstats
|
2024-09-12 14:29:56 +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-09-12 14:29:56 +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-09-12 14:29:56 +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-09-12 14:29:56 +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: zpool_capacity
|
2024-09-12 14:29:56 +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
|
|
|
- name: kvm_mem
|
2024-09-12 14:29:56 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/libvirt/kvm_mem
|
2024-02-15 13:52:00 +01:00
|
|
|
- name: kvm_net
|
2024-09-12 14:29:56 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/libvirt/kvm_net
|
2024-02-15 13:52:00 +01:00
|
|
|
- name: kvm_io
|
2024-09-12 14:29:56 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/libvirt/kvm_io
|
2024-02-15 13:52:00 +01:00
|
|
|
config: |
|
|
|
|
[kvm_io]
|
|
|
|
user root
|
|
|
|
- name: kvm_cpu
|
2024-09-12 14:29:56 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/libvirt/kvm_cpu
|
2024-02-15 13:52:00 +01:00
|
|
|
- name: proxmox_count
|
2024-09-12 14:29:56 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/proxmox/proxmox_vm_count
|
2024-02-15 13:52:00 +01:00
|
|
|
config: |
|
|
|
|
[proxmox_count]
|
|
|
|
user root
|
|
|
|
group root
|
|
|
|
- name: zfs_count
|
2024-09-12 14:29:56 +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: ksm_
|
2024-09-12 14:29:56 +02:00
|
|
|
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/system/kernel_same_page_merging
|
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_
|
|
|
|
- slab
|
|
|
|
- timesync
|
|
|
|
- lxc_guests
|
|
|
|
|
2023-10-25 22:26:17 +02:00
|
|
|
# Ansible Variablen
|
|
|
|
### sudo
|
|
|
|
sudo: false
|
2024-02-15 13:52:00 +01:00
|
|
|
...
|