Skip to content

Latest commit

 

History

History
executable file
·
58 lines (37 loc) · 1.15 KB

README.md

File metadata and controls

executable file
·
58 lines (37 loc) · 1.15 KB

Ansible Role: Apt

Build Status

Ansible role to install and uninstall packages via Apt, a package manager for Debian-based systems.

Installation

ansible-galaxy install markahesketh.apt

Role Variables

Default values are listed below (see defaults/main.yml):

apt_packages_install: []
apt_packages_uninstall: []

The apt_packages_install and apt_packages_uninstall variables take an array of package names. For example:

apt_packages_install:
  - vim
  - htop
  - tree

apt_packages_install:
  - cowsay

Dependencies

None.

Example Playbook

- hosts: web
  roles:
    - markahesketh.apt

Testing

molecule test

Requires Molecule and Docker.

License

This role is open-sourced software licensed under the MIT license.

Author

By Mark Hesketh, a web developer from Manchester, UK.