September 2018
Beginner to intermediate
214 pages
5h 53m
English
This module manages packages for the Debian family, including Debian, Ubuntu, LinuxMint, KaliLinux, and so on. It requires you to have aptitude, python-apt, and python3-apt installed on the remote host to work. It has multiple options and functionalities to personalize package installation, removal, upgrade, and index update. The following playbook only shows some of its features:
- name: install some packages on a Debian OS apt: name: "{{ pkg }}" state: latest update_cache: yes vars: pkg: - aha - htop
This module has some extra complementary modules to help with extra repositories and the keys used for trusted certificates. It also has some special return values.
Read now
Unlock full access