Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 925 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 925 Bytes

Packages

Install or uninstall packages, using either apt, yum or pip.

Requirements

Assumes gather_facts==true to determine OS/flavor.

Role Variables

default_packages = list of package names to install, default is an empty list remove_packages = list of package names to uninstall, default is an empty list python_packages = list of module names to install, default is an empty list user_pip = boolean to determine if the pip modules install in the user or system locations

Dependencies

None

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: packages, python\_packages: ["numpy"] }

License

GPLv3

Author Information

Michael P. Reilly http://bitbucket.org/Arcege