Commit graph

111 commits

Author SHA1 Message Date
64b85c0c40
arr: Add restic backup 2025-07-18 21:37:10 +02:00
363ce9ae6f
arr: Remove leftover arr.yml file 2025-07-18 21:37:10 +02:00
1fd72a05a6
restic: Fix backup container local repo mounting
If our chosen backup repo is a local one, each restic container needs to
mount the local path as a volume, otherwise the data is stuck in the
container itself.
2025-07-18 21:37:09 +02:00
f1be696479
grocy: Add docker hostname to backup container 2025-07-18 21:37:08 +02:00
9cf1a5e571
grocy: Add restic backup 2025-07-18 21:37:08 +02:00
af5b647daf
grocy: Fix container service name 2025-07-18 21:37:07 +02:00
cd842ea4b5
Add hostname to restic containers
Will pass through the hostname to any snapshots set up.
The hostname is _not_ derived from the random docker container string
but instead takes the name of the _host_ on which docker is running
(from ansible facts).

The hostname in combination with the tag should point to the correct
host -> stack which is being backed up.
2025-07-18 21:37:07 +02:00
b81328d400
paperless: Add restic backups 2025-07-18 21:37:06 +02:00
e13d85990c
restic: Fix template env vars 2025-07-18 21:37:06 +02:00
065fd4562b
vault: Add restic notification secrets 2025-07-18 21:37:05 +02:00
fab6f5ff7c
restic: Add notification
Notifies double for each prune/check run which may need to be fixed.
Also custom notification contents cannot currently be passed.

Lastly, we should put identifying information into the notification body
(such as the hostname/container name for which the notification is
relevant).
2025-07-18 21:37:05 +02:00
003cf64a77
restic: Update docs 2025-07-18 21:37:04 +02:00
86d49a756b
restic: Add stack
Adapted from cloudserve-infrastructure, implements a backup stack using
restic. The actual backups have to be implemented by individual other
roles but this sets up initialization, pruning and checking of a repository.
2025-07-18 21:37:03 +02:00
93876315ca
repo: Rename all yml extensions to yaml 2025-07-18 21:37:03 +02:00
06940925a9
arr: Use gluetun port forward feature
Explanation here:
https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/vpn-port-forwarding.md

Whenever we receive a new forwarded port (around once a month?) we pass
it to qbit through its API. May require the setting no auth for local
connections in qbit.

Allows to remove the complete port-manager docker container which did
not work very well.
2025-07-17 18:40:17 +02:00
4658ff5d7e
dockerbob: Set to http protocol 2025-07-17 18:08:57 +02:00
2eab9d35d3
roles: Add inherited protocol for subdomains
Can be set globally ('protocol: http://') or per stack.
Defaults to empty which caddy treats as https.
2025-07-17 18:08:57 +02:00
0ce9d700b2
roles: Fix umask to be string type
Should not be integer which it will be cast to if given without quotes.
2025-07-17 18:08:56 +02:00
cd43b25553
arr: Fix remaining arrstack_data_dir variable 2025-07-17 18:08:56 +02:00
fbaab26f7f
repo: Add container tag to all hosted container tasks 2025-07-17 18:08:55 +02:00
9d36fe5714
repo: Grab become password from pass store 2025-07-17 18:08:55 +02:00
b147771a83
repo: Change inventory to yaml format 2025-07-17 18:08:54 +02:00
e32f2366c8
roles: Make domain global variable
Each role has their own subdomains which can be set manually, or can
inherit from the global domain with a default prefix.
2025-07-17 18:08:54 +02:00
812deeb12d
roles: Inherit from global vars with defaults
Global options such as 'timezone' or 'puid' can be set on a host and all
(relevant) roles will inherit them. Will be used for more variables in
the future.
2025-07-17 18:08:53 +02:00
770da26b03
paperless: Improve documentation 2025-07-17 18:08:52 +02:00
90f004fbdb
roles: Add grocy stack 2025-07-17 18:08:52 +02:00
6a1e01575c
repo: Move ansible setup to root dir 2025-07-17 18:07:52 +02:00
ff718b46ef
arr: Rename data dir to serve_dir 2025-07-16 22:11:46 +02:00
b8678bafaa
Merge paperless role 2025-07-16 22:11:45 +02:00
ce86cdc2c0
paperless: Add to main playbook 2025-07-16 22:11:44 +02:00
8391a54bda
paperless: Remove redundant docker compose lines 2025-07-16 22:11:44 +02:00
c0b5b04d3d
paperless: Add caddy labels 2025-07-16 22:11:43 +02:00
1b147c6a78
paperless: Set up directories 2025-07-16 22:11:43 +02:00
70ddb4df6a
paperless: Update secrets 2025-07-16 22:11:42 +02:00
dc8ec72581
paperless: Add role 2025-07-16 22:11:42 +02:00
73368d4c82
arr: Fix arrstack default timezone 2025-07-16 22:11:41 +02:00
5f09ce7099
Move arr stack to ansible 2025-07-16 22:11:40 +02:00
6374fa8eff
Keep sensitive vars in vault 2025-07-16 22:11:40 +02:00
2045f4ae58
Make arrstack docker compose ansible ready
Move sonarr to new system

Move sabnzbd to new system

Move radarr

Move lidarr

!unsafe directive makes ansible ignore potential template vars in the
string

https://github.com/ansible/ansible/issues/16443

Move readarr

Move prowlarr

Move homarr

Move beets

Move jellyseerr

Move audiobookshelf

Move jellyfin

Move gonic

Migrate torrent setup
2025-07-16 22:11:39 +02:00
93ae62dc93
Move to incus connection 2025-07-16 22:11:39 +02:00
578f699cb7
Move ansible docker module python requirements to docker tasks 2025-07-16 22:11:38 +02:00
e6b6154043
Add caddy reverse proxy role
Acts as reverse proxy for the docker instance. Can be configured through
docker labels. Proxies anything that is received on port 80 or 443.
2025-07-16 22:11:38 +02:00
ec91e97fed
Remove orphans on stack deployment 2025-07-16 22:11:37 +02:00
d930094638
Install instance req for ansible docker tasks 2025-07-16 22:11:36 +02:00
b54d14c98e
Rename host groups to host/instance 2025-07-16 22:11:36 +02:00
71244751c7
Split arr role from playbook 2025-07-16 22:11:35 +02:00
eaaa35de25
Split incus role from playbook 2025-07-16 22:11:35 +02:00
0f8822e632 Set utility scan script to color mode by default 2025-07-16 22:11:35 +02:00
5c6314dc73 Move arr yaml to arr subdirectory 2025-07-16 22:11:35 +02:00
122abbe723
Git ignore vaultpass 2025-07-16 22:11:34 +02:00