All Projects → Oefenweb → ansible-apt

Oefenweb / ansible-apt

Licence: MIT license
Ansible role to manage packages and up(date|grade)s in Debian-like systems

Programming Languages

Jinja
831 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to ansible-apt

Apt Offline
Offline APT Package Manager
Stars: ✭ 102 (+385.71%)
Mutual labels:  package-manager, debian, apt
Zebra
🦓 A Useful Package Manager for iOS
Stars: ✭ 667 (+3076.19%)
Mutual labels:  package-manager, debian, apt
cylon-deb
TUI menu driven bash shell script to update and maintain a Debian based Linux distro.
Stars: ✭ 23 (+9.52%)
Mutual labels:  debian, apt, aptitude
python-deb-pkg-tools
Debian packaging tools
Stars: ✭ 36 (+71.43%)
Mutual labels:  debian, apt, dpkg
repogen
Easy-to-use signed APT repository generator with a web-based package browser.
Stars: ✭ 34 (+61.9%)
Mutual labels:  debian, apt, dpkg
Aptutil
Go utilities for Debian APT repositories
Stars: ✭ 95 (+352.38%)
Mutual labels:  debian, apt
Apt Smart
apt-smart: Smart, automated, robust apt-get mirror selection for Debian, Ubuntu and Linux Mint
Stars: ✭ 153 (+628.57%)
Mutual labels:  debian, apt
Aptly
aptly - Debian repository management tool
Stars: ✭ 2,065 (+9733.33%)
Mutual labels:  debian, apt
Termux Apt Repo
Script to create Termux apt repositories.
Stars: ✭ 131 (+523.81%)
Mutual labels:  package-manager, apt
Pacaptr
Pacman-like syntax wrapper for many package managers.
Stars: ✭ 138 (+557.14%)
Mutual labels:  package-manager, apt
pacstall
An AUR-inspired package manager for Ubuntu
Stars: ✭ 842 (+3909.52%)
Mutual labels:  package-manager, debian
Molior
Molior - Debian Build System
Stars: ✭ 53 (+152.38%)
Mutual labels:  debian, apt
Ts3server Package
A script that generates a debian package for a TeamSpeak 3 Server
Stars: ✭ 5 (-76.19%)
Mutual labels:  debian, apt
Switch Apt Mirror.ansible.role
switch apt mirror for Debian & Ubuntu with Ansible role.
Stars: ✭ 5 (-76.19%)
Mutual labels:  debian, apt
ansible-nodejs
Ansible role to set up the latest version of Node.js and npm in Debian-like systems
Stars: ✭ 14 (-33.33%)
Mutual labels:  package-manager, debian
meta-package-manager
🎁 a wrapper around all package managers
Stars: ✭ 277 (+1219.05%)
Mutual labels:  package-manager, apt
Aptsources Cleanup
Detects and interactively deactivates duplicate Apt source entries and deletes sources list files without valid enabled source entries (as requested in https://askubuntu.com/a/762815/175814).
Stars: ✭ 381 (+1714.29%)
Mutual labels:  debian, apt
debianopt-repo
Additional debian repository for awesome open-source projects.
Stars: ✭ 47 (+123.81%)
Mutual labels:  debian, apt
debian-packaging
Create Debian packages of non-free, closed-source and other software.
Stars: ✭ 19 (-9.52%)
Mutual labels:  debian, dpkg
piu
Cross platform package manager wrapper
Stars: ✭ 33 (+57.14%)
Mutual labels:  package-manager, debian

apt

CI Ansible Galaxy

Manage packages and up(date|grade)s in Debian-like systems.

Requirements

  • python3-apt (or python-apt for Debian 7)
  • aptitude

Variables

  • apt_manage_sources_list: [default: false]: Whether or not to manage /etc/apt/sources.list

  • apt_ubuntu_mirror: [default: mirror://mirrors.ubuntu.com/mirrors.txt]: The mirror to use

  • apt_ubuntu_security_mirror: [default: http://security.ubuntu.com/ubuntu]: The security-mirror to use

  • apt_src_enable: [default: true]: Whether or not to enable source code repositories

  • apt_backports_enable: [default: true]: Whether or not to enable the backports repository

  • apt_ubuntu_universe_enable: [default: true]: Whether or not to enable the universe repository

  • apt_ubuntu_multiverse_enable: [default: true]: Whether or not to enable the multiverse repository

  • apt_ubuntu_backports_enable: [default: true]: Whether or not to enable the backports repository [deprecated in favour of apt_backports_enable]

  • apt_ubuntu_partner_enable: [default: false]: Whether or not to enable the partner repository

  • apt_ubuntu_extras_enable: [default: false]: Whether or not to enable the extras repository (only applies to < 16.04)

  • apt_debian_mirror: [default: http://deb.debian.org/debian/]: The mirror to use

  • apt_debian_security_mirror: [default: http://security.debian.org/]: The security-mirror to use

  • apt_debian_contrib_nonfree_enable: [default: false]: Whether or not to enable the contrib non-free repository

  • apt_dependencies: [default: [python3-apt, aptitude]]: General dependencies for apt modules to work

  • apt_update: [default: true]: Whether or not to update

  • apt_update_cache_valid_time: [default: 3600]: Number of seconds the apt cache stays valid

  • apt_upgrade: [default: true]: Whether or not to upgrade

  • apt_upgrade_type: [default: dist]: If yes or safe, performs an aptitude safe-upgrade. If full, performs an aptitude full-upgrade. If dist, performs an apt-get dist-upgrade

  • apt_upgrade_dpkg_options: [default: ['force-confdef', 'force-confold']]: Add dpkg options to apt command

  • apt_clean: [default: true]: Whether or not to clean

  • apt_dpkg_configure: [default: false]: Whether or not to run dpkg --configure -a

  • apt_autoremove: [default: true]: Whether or not to autoremove

  • apt_install: [default: []]: Packages to install

  • apt_install_state: [default: latest]: State of packages to install (e.g. present)

  • apt_remove: [default: []]: Packages to remove

  • apt_remove_purge: [default: false]: Whether or not to purge

  • apt_etc_apt_apt_conf: [default: []]: List of lines to be added to /etc/apt/apt.conf

  • apt_etc_apt_apt_conf_d_files_absent: [default: []]: List of files to be removed from /etc/apt/apt.conf.d

Dependencies

None

Example

---
- hosts: all
  roles:
    - apt
  vars:
    apt_etc_apt_apt_conf:
      - |
        APT {
          Install-Recommends "false";
          Install-Suggests "false";
          Get {
            Fix-Broken "true";
          };
        };
    apt_etc_apt_apt_conf_d_files_absent:
      - 20auto-upgrades

License

MIT

Author Information

Mischa ter Smitten (based on work of kosssi and Ansibles)

Feedback, bug-reports, requests, ...

Are welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].