Skip to content

sunscrapers/ansible-role-apt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible APT role

Build Status

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.

Installation

$ ansible-galaxy install sunscrapers.apt -p roles/

Customization

To customize the role you can override the following default variables:

apt_cache_valid_time: 3600
apt_install_packages: []
apt_setup_unattended_upgrades: yes

Development

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