Commit graph

8 commits

Author SHA1 Message Date
f16f8697c2
move roles, files and templates dirs out of playbook dir into root dir
Because of how Ansible local relative search paths work, the global
"files" and "templates" directories need to be next to the playbooks.
However its not intuitive to look into the "playbooks" directory to find
the files and templates for a host.
Therefore move them out of the "playbooks" directory into the root
directory and add symlinks so everything still works.

Similarly for local roles, they also need to be next to the playbooks.
So for a nicer structure, move the "roles" directory out into the root
directory as well and add a symlink so everything still works.

Also see:
https://docs.ansible.com/ansible/latest/playbook_guide/playbook_pathing.html#resolving-local-relative-paths
https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_reuse_roles.html#storing-and-finding-roles
2024-12-08 02:55:25 +01:00
d526e9fdfa Add cron job to prune old images 2024-10-31 11:27:12 +01:00
e9adeecc93 Avoid docker compose down 2024-08-11 21:21:51 +02:00
7a0935cecf Make sure anacron is installed 2024-08-11 21:08:57 +02:00
343a67e0e7 Add auto-update
* for all hosts, use debops.unattended_upgrades
* for docker compose, install a cron job pulling new images and restarting affected containers
2024-08-11 20:49:21 +02:00
d99874935f comment out another instance of non-working code 2023-10-23 21:40:46 +02:00
2f7e3ae893 Build on docker compose up as well 2023-07-28 23:16:27 +02:00
julian
91274de823 Add my docker and docker_compose role
Do this in preparation for the keycloak deployment.
2023-05-01 01:45:15 +02:00