Paul Brinkmeier 06b673ec89
Some checks failed
continuous-integration/drone/push Build is failing
Apply ansible-lint fixes
2023-06-09 00:42:43 +02:00
..
2023-06-09 00:42:43 +02:00
2023-06-09 00:42:43 +02:00
2022-09-15 04:56:14 +02:00
2023-01-27 02:55:53 +01:00

ansible

Ansible Control Node Setup

The root of this repo contains a flake.nix that defines a shell with all necessary tools. To drop into a shell with ansible-* commands, run:

nix develop

misc.yaml

Server for miscellaneous stuff, e.g. the website. Expects to have a user andi who can sudo. Sets up:

  • Some basic packages
  • Docker and docker-compose (the latter via pip)
  • Nix multi-user installation

misc-docker.yaml

Deploys Docker configurations from ../docker:

  • Sets up the docker network caddy-network for services that are reverse proxied by caddy
  • Copies configuration into /etc/pbri/docker
  • Creates folder /var/lib/pbri/docker for storing application files
  • Creates users with 42xxx UIDs for running containers

misc-sites.yaml

Checks out static sites into /home/paul/Sites which is mounted into /srv in the Caddy container.