mg
1fc7975323
Aufräumen In GroupVars eingebaut Templates als Vars Doku aktualisiert Typo neues Dictionary-Format Vars: zfs_pool --> zfs_pools Co-authored-by: Michael Grote <38253905+quotengrote@users.noreply.github.com> Reviewed-on: mg/ansible#19 Co-Authored-By: mg <michael.grote@posteo.de> Co-Committed-By: mg <michael.grote@posteo.de>
92 lines
2.9 KiB
YAML
92 lines
2.9 KiB
YAML
---
|
|
|
|
### geerlingguy.dotfiles
|
|
dotfiles_repo: "https://github.com/quotengrote/dotfiles.git"
|
|
dotfiles_repo_local_destination: "/home/mg/dotfiles-repo"
|
|
dotfiles_home: "/home/mg"
|
|
dotfiles_user: "mg"
|
|
dotfiles_repo_accept_hostkey: true
|
|
dotfiles_files:
|
|
- .bash_aliases
|
|
- .tmux.conf
|
|
- .gitconfig
|
|
### mgrote.sanoid
|
|
sanoid_datasets:
|
|
- path: 'hdd_data_raidz/data'
|
|
template: 'fiveminutes' # muss in Templates angelegt sein
|
|
recursive: ' no'
|
|
- path: 'hdd_data_raidz/videos'
|
|
template: 'hourly'
|
|
recursive: ' yes'
|
|
sanoid_templates:
|
|
- name: 'fiveminutes'
|
|
keep_hourly: '24' # Aufheben (Stunde)
|
|
keep_daily: '31' # Aufheben (Tage)
|
|
keep_monthly: '6' # Aufheben (Monate)
|
|
keep_yearly: '0' # Aufheben (Jahre)
|
|
frequently: '36' # Aufheben (Minuten)
|
|
frequent_period: '5' # Intervall (alle 5 Minuten)
|
|
autosnap: 'yes' # Automatisches erstellen von Snapshots
|
|
autoprune: 'yes'
|
|
- name: 'hourly'
|
|
keep_hourly: '24'
|
|
keep_daily: '31'
|
|
keep_monthly: '6'
|
|
keep_yearly: '1'
|
|
frequently: '0'
|
|
frequent_period: '0'
|
|
autosnap: 'yes'
|
|
autoprune: 'yes'
|
|
### mgrote.smart
|
|
smart_smartctlmail_cron_minutes: "15"
|
|
smart_smartctlmail_cron_hours: "6"
|
|
smart_smartctlmail_cron_weekday: "3"
|
|
### mgrote.tmux
|
|
tmux_conf_destination: "/root/.tmux.conf"
|
|
tmux_bashrc_destination: "/root/.bashrc"
|
|
tmux_standardsession_name: "default"
|
|
### mgrote.apcupsd
|
|
ONBATTERYDELAY: 10
|
|
BATTERYLEVEL: 50
|
|
MINUTES: 10
|
|
NOLOGON: disable
|
|
### mgrote.zfs_tools
|
|
zfs_arc_max: "12884901888"
|
|
zfs_pools:
|
|
- name: "ssd_vm_mirror"
|
|
type: "ssd"
|
|
cron_minute_zfs_trim: "5"
|
|
cron_hour_zfs_trim: "22"
|
|
cron_month_zfs_trim: "4,8,12"
|
|
cron_day_zfs_trim: "2"
|
|
cron_weekday_zfs_scrub: "6"
|
|
cron_minutes_zfs_scrub: "0"
|
|
cron_hour_zfs_scrub: "23"
|
|
- name: "hdd_vm_mirror"
|
|
type: "hdd"
|
|
cron_minute_zfs_trim: "5"
|
|
cron_hour_zfs_trim: "23"
|
|
cron_month_zfs_trim: "4,8,12"
|
|
cron_day_zfs_trim: "2"
|
|
cron_weekday_zfs_scrub: "6"
|
|
cron_minutes_zfs_scrub: "0"
|
|
cron_hour_zfs_scrub: "22"
|
|
- name: "hdd_data_raidz"
|
|
type: "hdd"
|
|
cron_minute_zfs_trim: "5"
|
|
cron_hour_zfs_trim: "24"
|
|
cron_month_zfs_trim: "4,8,12"
|
|
cron_day_zfs_trim: "2"
|
|
cron_weekday_zfs_scrub: "6"
|
|
cron_minutes_zfs_scrub: "0"
|
|
cron_hour_zfs_scrub: "23"
|
|
### mgrote.cv4pve-autosnap
|
|
cv4pve_api_user: root@pam!cv4pve-autosnap
|
|
cv4pve_api_token: "{{ lookup('keepass', 'cv4pve_api_token', 'password') }}"
|
|
cv4pve_vmid: all,-109,-158,-153
|
|
cv4pve_keed_snapshots: 7
|
|
cv4pve_dl_link: "https://github.com/Corsinvest/cv4pve-autosnap/releases/download/v1.9.10/cv4pve-autosnap-linux-x64.zip"
|
|
|
|
# Ansible Variablen
|
|
### sudo
|
|
sudo: false
|