arcege.packages

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

About

handle adding and removing packages for other roles

Install
ansible-galaxy install arcege.packages
GitHub repository
License
gpl-3.0
Downloads
54