Configure Apt & unattended-upgrades on Debian hosts
- Conditionally install apt-transport packages (only https for now)
- Configure Apt
- Install and configure unattended-upgrades
Most variables map pretty closely to apt configs for more info on these refer to the appropriate documentation
Configure apt preferences
Example:
apt_preferences:
- package: some-package
pin: some.repo.url
pin-priority: 500
Install apt-transport-https
to support using https apt sources
Install and configure apt unattended upgrades
Misc packages to install
Testing for this project is setup using Molecule & Docker. Unit tests can be run using the below command:
foo@bar:~$ molecule test --all