Skip to content

markahesketh/ansible-role-apt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages