apt
The apt module offers pseudo-declarative package and repository management using apt.
Features
Section titled “Features”This module is capable of:
- Package Management
- Installing packages
- Removing packages
Package Management
Section titled “Package Management”Installing
Section titled “Installing”type: aptinstall: packages: - package-1 - package-2Removing Packages
Section titled “Removing Packages”type: aptremove: packages: - package-1 - package-2Example configuration
Section titled “Example configuration”type: aptinstall: packages: - gitremove: packages: - firefox - firefox-langpacksConfiguration options
Section titled “Configuration options”remove:
Section titled “remove:”object
packages[]:
Section titled “packages[]:”array of string
List of packages to remove.
Configuration of packages removal.
install:
Section titled “install:”object
packages[]:
Section titled “packages[]:”array of string
List of packages to install.
Configuration of packages install.