This repo contains Ansible code to configure an apt repository using aptly. I use this to bootstrap the Utopia Repository, along with its mirrors.
See hosts.yml
and group_vars/all.yml
for detailed configuration.
- Aptly configuration - default in
/srv/aptly
- nginx configuration - serves
/srv/aptly
and/srv/aptly-web
(the latter being static web files if enabled) - SFTP-only user accounts to upload .changes files for
aptly include
- Optional mirroring via rsync
- GnuPG signing keys (upload or generate these manually)
- GeoDNS configuration lives in a separate repository
- TLS certificates for HTTPS support
- This playbook creates an example config for
certpush
, a tool I built to bootstrap Let's Encrypt certificates for sites hosted from multiple backends. - If you don't care about mirroring and only want a single master server, any Let's Encrypt setup or external TLS certificate will do.
- This playbook creates an example config for
- Cron jobs for automation scripts - these are generally very deployment specific
- Nightlies autobuilder bootstrap