Upgrade notes

The upgrade notes only describe necessary changes that you might need to make to your setup in order to use a new role release. Refer to the Changelog for more details about what has changed.

Upgrade from v0.1.0 to v0.2.0

A few variables have been renamed so you might need to update your inventory. This script can come in handy to do this:

#!/bin/bash
## Upgrade inventory variables for migration from debops.apt_cacher_ng v0.1.X to v0.2.X.
## The script is idempotent.

git ls-files -z "$(git rev-parse --show-toplevel)" | xargs --null -I '{}' find '{}' -type f -print0 \
 | xargs --null sed --in-place --regexp-extended '
     s/apt_cacher_ng__nginx_upstream_servers/apt_cacher_ng__upstream_servers/g;
     s/apt_cacher_ng__nginx_upstream/apt_cacher_ng__nginx__upstream/g;
   '

The script is bundled with this role under ./docs/scripts/upgrade-from-v0.1.X-to-v0.2.X and can be invoked from their.