This repository has been archived on 2023-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
homeserver-ansible/group_vars/all/vars.yml

194 lines
3.7 KiB
YAML
Raw Normal View History

2022-03-01 17:43:44 -05:00
# Do not edit this directly.
#
# Use
# group_vars/inventory_name/vars.yml
# host_vars/your_hostname/vars.yml
# for plaintext variables.
#
# For secrets, use the same paths with vault.yml instead of vars.yml.
2022-02-27 16:05:34 -05:00
2022-03-01 17:43:44 -05:00
### Misc settings
2022-02-27 16:05:34 -05:00
# Email address for Let's Encrypt and DNS
email: dogeystamp@disroot.org
# Could be sudo instead
escalation_method: doas
sshd_port: 2500
2022-03-02 19:58:31 -05:00
# Username for the priviledged user
admin_username: maestro
2022-02-27 16:05:34 -05:00
# Username for unpriviledged user
username: dogeystamp
# Create an SFTP read-only user (leave blank to disable)
sftp_ro_username: dogeystamp-mobile
# Git repos (could be localhost if Gitea is installed)
dots_repo: http://localhost:3000/dogeystamp/dots.git
site_repo: http://localhost:3000/dogeystamp/wb4.git
2022-02-27 16:05:34 -05:00
# Drive with all the data stored on it (should be separate from OS drive)
# This is the raw partition, and not the mapped crypt device
2022-05-10 22:11:16 -04:00
secondary_disk: /dev/sda1
2022-02-27 16:05:34 -05:00
2022-05-14 21:37:06 -04:00
# Drive for backups (also separate from OS drive)
# This is the raw partition, and not the mapped crypt device
backup_disk: /dev/sda2
# Title used for the static website generator
web_name: dogeystamp
2022-02-27 16:05:34 -05:00
# Web root for nginx and other applications
webroot: /srv/http
# Data root
dataroot: /var/www/data
2022-03-01 17:43:44 -05:00
# Extra packages
util_pack:
- neovim
- neofetch
- fish
- htop
- tmux
- git
- cronie
- progress
- rsync
- man-db
2022-02-27 16:05:34 -05:00
2022-03-01 17:43:44 -05:00
### Network settings (nameserver, address, etc.)
domain: d.nerdpol.ovh
2022-02-27 16:05:34 -05:00
# Forward DNS queries to
dns_forward: 1.1.1.1
# Local IP address subnet
local_subnet: 192.168.0.0/24
2022-03-04 07:30:09 -05:00
# CIDR prefix
subnet_prefix: /24
2022-02-27 16:05:34 -05:00
# Static address of the server (locally)
# Preferably have another one to SSH into with Ansible, as we change the IP midway
# in connection.yml
local_ip: 192.168.0.3
2022-03-06 19:36:53 -05:00
# Gateway address (this is your router's IP)
gateway: 192.168.0.1
2022-02-27 16:05:34 -05:00
# Connection interface for static IP
interface: eth0
2022-03-01 17:43:44 -05:00
# Email to send renewal notices to
acme_email: "{{ email }}"
2022-02-27 16:05:34 -05:00
# ACME directory to use
# acme_dir: "https://acme-v02.api.letsencrypt.org/directory"
acme_dir: "https://acme.zerossl.com/v2/DV90"
# Algorithm for ACME External Account Binding
acme_eab_alg: HS256
2022-02-27 16:05:34 -05:00
2022-03-01 17:43:44 -05:00
### Mediawiki farm variables
2022-02-27 16:05:34 -05:00
# Internal names for the wikis, used for filenames and URLs
wiki_names:
- wiki
- rw
2022-03-01 17:43:44 -05:00
### Placeholders for secret vault (change these in host_vars/your_hostname/vault.yml)
2022-02-27 16:05:34 -05:00
2022-03-01 17:43:44 -05:00
ddclient_pass: "secret"
2022-02-27 16:05:34 -05:00
# Gitea secrets
lfs_jwt_secret: "secret"
jwt_secret: "secret"
# Mediawiki secrets
wgUpgradeKey: "secret"
# This should have the same amount of elements as wiki_names.
wgSecretKey:
- "wiki_secret"
- "rw_secret"
# Matrix Synapse secrets
registration_shared_secret: "secret"
macaroon_secret_key: "secret"
form_secret: "secret"
2022-03-01 17:43:44 -05:00
2022-05-22 20:47:58 -04:00
# Coturn secrets
coturn_secret_key: "secret"
# SSL ACME External Account Binding secrets (optional: required for some CAs)
acme_eab_kid: "secret"
acme_eab_key: "secret"
2022-03-01 17:43:44 -05:00
### Role switches
2022-04-27 17:32:11 -04:00
# Setup AUR helper yay
enable_aur: yes
2022-03-01 17:43:44 -05:00
# Dotfile deployment
enable_dotfiles: yes
# LUKS crypto and filesystem mounts
enable_filesystems: yes
2022-05-14 21:37:06 -04:00
# Deploy script to facilitate backups
enable_backup: yes
2022-03-01 17:43:44 -05:00
# Firewall (UFW)
enable_firewall: yes
# Use NetworkManager to configure a proper static IP address in LAN
enable_connection: yes
# Dynamic DNS client
enable_ddclient: yes
# Nameserver (if you can't do NAT hairpinning)
enable_nameserver: yes
# SSL ACME (Let's Encrypt)
enable_ssl: yes
2022-03-02 19:58:31 -05:00
# nginx: necessary for gitea, synapse, wiki, and website.
enable_webserver: yes
2022-03-01 17:43:44 -05:00
# Git server
enable_gitea: yes
# Matrix server
enable_synapse: yes
2022-05-22 20:47:58 -04:00
# TURN server for Matrix VoIP
enable_coturn: yes
2022-03-01 17:43:44 -05:00
# MediaWiki
enable_wiki: yes
2022-04-27 17:32:11 -04:00
# Navidrome (music server)
enable_navidrome: yes
2022-03-01 17:43:44 -05:00
# Personal website
enable_website: yes
# SFTP read-only user
enable_sftpr: yes
# Mailserver (local only)
enable_mail: yes