ansible/group_vars/all/vars.yml

81 lines
1.6 KiB
YAML

#
# Essential
#
user: tudattr
timezone: Europe/Berlin
local_domain: borg.land
rclone_config: "/root/.config/rclone/"
#
# aya01 - Disks
#
fstab_entries:
- name: "config"
uuid: "4942deb8-707e-48b5-81e3-555ae3cda9ba"
type: "ext4"
path: "/opt/"
- name: "media"
uuid: "c4c724ec-4fe3-4665-adf4-acd31d6b7f95"
type: "ext4"
path: "/media/"
#
# Packages
#
common_packages:
- sudo
- git
- iperf3
- git
- tmux
- smartmontools
- curl
- tree
- rsync
#
# 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
#
zoneminder_config: "{{ docker_dir }}/zm/"
zoneminder_data: "{{ docker_data_dir }}/zm/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
#
backblaze_paths:
aya01:
- "{{ docker_compose_dir }}"
- "{{ docker_dir }}"
pi:
- "{{ docker_compose_dir }}"
- "{{ docker_dir }}"