ansible/group_vars/all/vars.yml

142 lines
2.7 KiB
YAML

#
# Essential
#
user: tudattr
timezone: Europe/Berlin
local_domain: borg.land
rclone_config: "/root/.config/rclone/"
puid: 1000
pgid: 1000
#
# aya01 - Disks
#
fstab_entries:
- name: "config"
path: "/opt/"
type: "ext4"
uuid: "cad60133-dd84-4a2a-8db4-2881c608addf"
- name: "media"
path: "/media/"
type: "ext4"
uuid: "c4c724ec-4fe3-4665-adf4-acd31d6b7f95"
#
# Packages
#
common_packages:
- sudo
- git
- iperf3
- git
- tmux
- smartmontools
- vim
- curl
- tree
- rsync
- systemd-timesyncd
#
# Docker
#
docker_repo_url: https://download.docker.com/linux
docker_apt_gpg_key: "{{ docker_repo_url }}/{{ ansible_distribution | lower }}/gpg"
docker_apt_release_channel: stable
docker_apt_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
docker_apt_repository: "deb [arch={{ docker_apt_arch }}] {{ docker_repo_url }}/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} {{ docker_apt_release_channel }}"
docker_compose_dir: /opt/docker/compose
docker_dir: /opt/docker/config
docker_data_dir: /media/docker/data # only available on aya01
mysql_user: user
#
# aya01
#
aya01_host: "aya01"
aya01_ip: "192.168.20.12"
zoneminder_config: "{{ docker_dir }}/zm/"
zoneminder_data: "{{ docker_data_dir }}/zm/data/"
syncthing_data: "{{docker_data_dir}}/syncthing/"
softserve_data: "{{docker_dir}}/softserve/data"
#
# pi
#
traefik_etc: "{{ docker_dir }}/traefik/etc-traefik/"
traefik_var: "{{ docker_dir }}/traefik/var-log/"
ddns_updater_data: "{{ docker_dir }}/ddns-updater/data/"
ha_config: "{{ docker_dir }}/home-assistant/config/"
pihole_pihole: "{{ docker_dir }}/pihole/etc-pihole/"
pihole_dnsmasq: "{{ docker_dir }}/pihole/etc-dnsmasq.d/"
#
# backblaze
#
# Directories that will be backupped to backblaze
backblaze_paths:
aya01:
- "{{ docker_compose_dir }}"
- "{{ docker_dir }}"
pi:
- "{{ docker_compose_dir }}"
- "{{ docker_dir }}"
#
# samba
#
smb_deps:
- "samba"
- "smbclient"
- "cifs-utils"
smb_config: "templates/smb.conf"
smb_media_dir: "/media"
smb_group: "smbshare"
smb_user: "smbuser"
#
# prometheus/grafana
#
prm_user: "prometheus"
exporter_dir: "{{ docker_dir }}/exporter/"
prm_data: "{{docker_data_dir}}/prometheus/"
prm_config: "{{docker_dir}}/prometheus/"
prm_port: "9091"
e_node_port: "9100"
e_mikrotik_ip: "192.168.20.1"
e_mikrotik_version: "1.0.11"
e_mikrotik_config: "{{ exporter_dir }}/mikrotik/config/"
e_mikrotik_port: "9436"
grafana_data: "{{docker_data_dir}}/grafana/"
grafana_log: "{{docker_dir}}/grafana/logs/"
grafana_config: "{{docker_dir}}/grafana/config/"
#
# netdata
#
netdata_port: "19999"
netdata_config: "{{ docker_dir }}/netdata/"
netdata_lib: "{{ docker_data_dir }}/netdata/lib/"
netdata_cache: "{{ docker_data_dir }}/netdata/cache"