GithubHelp home page GithubHelp logo

apt's Introduction

ANXS - 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_mirror_url: http://us.archive.ubuntu.com  # the mirror from where to install packages
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_autoremove_recommends: yes                # whether to automatically remove "recommended" packages
apt_autoremove_suggests: yes                  # whether to automatically remove "suggested" packages
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. Similarly, apt_autoremove_recommends and apt_autoremove_suggests to no will make it harder to clean up.

Testing

This project comes with a VagrantFile, this is a fast and easy way to test changes to the role, fire it up with vagrant up

See vagrant docs for getting setup with vagrant

License

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

Feedback, bug-reports, requests, ...

Are welcome!

apt's People

Contributors

fcastello avatar frennkie avatar halostatue avatar klen avatar otakup0pe avatar pjan avatar soupdiver avatar wyaeld avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.