Ansible APT role ensures that apt cache is up to date and sets up unattended updates. It also installs the given list of apt packages.
Developed by SUNSCRAPERS with passion & patience.
$ ansible-galaxy install sunscrapers.apt -p roles/
To customize the role you can override the following default variables:
apt_cache_valid_time: 3600
apt_install_packages: []
apt_setup_unattended_upgrades: yes
To start developing on this Ansible role you need to install Vagrant first. Then run:
$ vagrant up
to start and provision virtual machine. You can run provisioning again to test idempotence:
$ vagrant provision