Skip to content

Generic Ansible role to install Linux and Python packages.

License

Notifications You must be signed in to change notification settings

arcege/ansible-role-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Generic Ansible role to install Linux and Python packages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published