Skip to content

Blunix-GmbH/ansible-role-apt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APT Ansible Role (ansible-role-apt) from Blunix GmbH

This Ansible role configures APT on Debian servers, installs a curated base package set, and tunes unattended upgrades plus systemd timers for regular updates—exactly as we use it in production.

The Ansible Role is written and actively maintained by Blunix GmbH. It is used in the Blunix Linux Managed Hosting Stack. Its usage is documented at our Linux Managed Hosting Documentation.

Features

  • Installs a configurable base set of useful packages for Debian servers (editors, networking tools, Python tooling, etc.).
  • Enables unattended upgrades via debconf and splits updates into dedicated systemd timers for security updates (15-minute cadence) and versions (SLA Wartungsfenster).
  • Disables the default apt-daily-upgrade timer, keeps apt-daily hourly for fresh indexes, and ships dedicated services/timers for security upgrades, version upgrades, and kernel reboots.
  • Tunes haveged when installed via this role.
  • Runs apt-get autoremove to clean up unused packages.

Requirements

  • Ansible: >= 2.20.0
  • Managed operating systems:
    • Debian trixie

Role variables, inventory and example playbook

Production playbooks apply the role without overrides; if you want to customize base packages, use the inventory example below. The full example lives under example/:

The defaults cover the base package set, unattended upgrades via debconf, SLA-aligned timers for security and version updates, and a dedicated kernel reboot timer.

Managed files and templates

Infrastructure As Code Tests

Author Information

Blunix GmbH Berlin

root@Linux:~# Support | Consulting | Hosting | Training

Blunix GmbH provides 24/7/365 Linux emergency support and consulting, Service Level Agreements for Debian Linux managed hosting using Ansible Configuration Management as well as Linux trainings and workshops.

Learn more at https://www.blunix.com.

Contact Information

Click here to see our Contact Information.

For bug reports and feature requests, please open an issue in this repository’s GitHub issue tracker.

License

Apache-2.0

Please refer to the LICENSE file in the root of this repository.

About

Ansible role to install and configure apt on Debian Linux

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors