Skip to content

kosssi/apt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansibles - apt Build Status

Ansible role which executes apt-get update to ensure the local APT package cache is up to date. At the same time, it cleans it from packages and .deb files which are no longer needed.

Variables

apt_reset_source_list: no         # reset the /etc/apt/sources.list to the default
apt_cache_valid_time: 3600        # Time (in seconds) the apt cache stays valid
apt_install_recommends: no        # whether or not to install the "recommended" packages
apt_install_suggests: no          # whether or not to install the "suggested" packages
apt_autoremove: yes               # remove packages that are no longer needed for dependencies
apt_autoclean: yes                # remove .deb files for packages no longer on your system
apt_default_packages:
  - python-apt
  - unattended-upgrades

Remark: Beware that setting apt_install_recommends and apt_install_suggests to yes may heavily increase the apt-requirements (and hence disk usage). You should proceed cautiously changing these.

License

Licensed under the MIT License. See the LICENSE file for details.

Feedback, bug-reports, requests, ...

Are welcome!

About

Ansible role for apt

Resources

License

Stars

Watchers

Forks

Packages

No packages published