2020-08-19 12:29:49 +02:00
---
2021-12-28 11:25:29 +01:00
### mgrote.user
users :
- username : mg
password : "{{ lookup('keepass', 'mg_linux_password_hash', 'password') }}"
update_password : on_create
groups : ssh, sudo, docker
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
public_ssh_key : ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyqs0OE5RVqs6tIzyuGQWvq/OVDa/tfdSEqMIwcthFt+pwCCjpqtNc8L8FSXgphSwuNosFakqhMLDFD3pmII+t61NRExsoR3nGTDuCAQnTvTKXTEfhnunN3pwgXWVTI68j9pRzmSy+hMkSFbgN9EGMSXxGcNunY7ewS3ZkVe08SWFpiX9giYq6uiOiMHsZKdcP6s2QRXUhZlTx2cOc/9gJ5lD82EUXQRZzT6ww2xVrceIW9c3CZFmSmYWxvrR7dPcHrke90FPPd5WhU+Anz++6GsT6+OhZTk+uQnBHllFXn9NoFQIEUDO4zV+gFXITaAbTkLAcCwuKB2QcDZ6C2mhf ansible-generated on ansible-v2
allow_sudo : true
allow_passwordless_sudo : true
2020-11-04 11:49:02 +01:00
### geerlingguy.docker
docker_users :
- mg
2021-09-13 19:26:31 +02:00
### geerlingguy.pip
pip_package : python3-pip
pip_install_packages :
- name : docker # für munin-plugin docker_
2020-12-03 12:18:00 +01:00
### mgrote.restic
2021-10-09 20:23:23 +02:00
restic_cron_hours : "*/6"
2020-12-22 12:27:43 +01:00
restic_exclude : |
._*
desktop.ini
.Trash-*
**/**cache***/**
**/**Cache***/**
**/**AppData***/**
/var/lib/docker/volumes/***Musik***
/var/lib/docker/volumes/***musik***
# https://github.com/restic/restic/issues/1005
# https://forum.restic.net/t/exclude-syntax-confusion/1531/12
2021-09-13 19:26:31 +02:00
### geerlingguy.munin-node
munin_node_plugins :
- name : chrony
2021-11-07 12:22:11 +01:00
src : https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/chrony/chrony
2021-09-13 19:26:31 +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
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
- name : docker_containers
2021-11-07 12:22:11 +01:00
src : https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_
2021-09-13 19:26:31 +02:00
config : |
[ docker_*]
user root
env.DOCKER_HOST unix://run/docker.sock
- name : docker_cpu
2021-11-07 12:22:11 +01:00
src : https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_
2021-09-13 19:26:31 +02:00
- name : docker_memory
2021-11-07 12:22:11 +01:00
src : https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_
2021-09-13 19:26:31 +02:00
- name : docker_network
2021-11-07 12:22:11 +01:00
src : https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_
2021-09-13 19:26:31 +02:00
- name : docker_volumes
2021-11-07 12:22:11 +01:00
src : https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_
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
2021-09-13 19:26:31 +02:00
### mgrote.docker-compose-deploy
docker_compose_base_dir : /home/mg/docker