mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +02:00
8.6 KiB
8.6 KiB
Ansible Role to install packages
A base ansible role that should run on common Linux systems.
This role adds more package sources to Debian. And installs some useful tools. This role adds more package sources to Debian. And installs some useful tools. The complete list of tools to install can be found in the vars/main.yml.
Optionally you can also set vim as the default editor and update all packages to latest
.
variables:
For a complete overview of all variables have a deeper look into the vars
nd the defaults
Folder!.
---
# install these additional packages
base__extra_packages: []
# - foo
# - bar
# should we add additional package source?
base__add_ethz: true
# add nonfree/firmware packages?
base__pkg_non_free_firmware: false
base__pkg_contrib: false
base__pkg_security: true
# optionaly print some OS vars
base__print_os_vars: false
# choose latest or present for package state
# set this to latest for updating all packages!
base__package_state: 'present'
# should we update all packages?
base__upgrade_packages_to_latest_version: false
# install keychain (ssh agent)
base__install_keychain: true
# install vim (comand line editor)
base__install_vim: true
# perform a simple versions check (true is recomended)
submodules_versioncheck: false
testing
This role is tested with these github-action tests for different versions of differen linux systems. If you want to find out more about our tests, please have a look at the github marketplace.