DecibelInsight.apt
Apt
Configure apt-get for ubuntu
Role Variables
Variables that are available for configuration are:
periodic_updates: Enable/disable periodic updates, default:trueforce_ipv4: Force ipv4 ony, default:trueunattended_upgrades: Enable/disable unattended security updates, default:trueunattended_upgrades_email: Unattended upgrades failure notification email, default:root@localhostapt_region: if this is set, then an AWS server will be used as the main mirror for apt updates. This can be one ofdefault(default value if non is provided)us-westsa-easteu-centraeu-westap-southeastap-northeastapt_disable_list: A list of packages to be blacklisted for apt.
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
---
- hosts: all
roles:
- DecibelInsight.apt
or with a region (Tokyo)
---
- hosts: all
roles:
- role: DecibelInsight.apt
apt_region: 'ap-northeast'
License
BSD
