Install pew package.
Today, only globally pip install is available, but you're free to open PR for new installation methods or OS support.
This role requires Ansible 2.2 or higher, and platform requirements are listed in the metadata file.
This role use Molecule to run tests.
Local and Travis tests run tests on Docker by default. See molecule documentation to use other backend.
Currently, tests are done on:
- Debian Jessie
- Ubuntu Trusty
- Ubuntu Xenial
and use:
- Ansible 2.2.x
- Ansible 2.3.x
- Ansible 2.4.x
$ tox
# Package management
pew_apt_update_cache: True
pew_apt_cache_valid_time: 3600
pew_system_dependencies: "{{ _pew_system_dependencies | default([]) }}"
pew_pip_packages:
- name: 'pew'
version: '1.1.2'
# Install method
# * pip: use python packages on pypi
pew_install_method: 'pip'
pew_install_globally: True
pew_manage_system_dependencies: True
_pew_system_dependencies:
- name: 'git'
- name: 'python-pip'
None
- hosts: servers
roles:
- { role: Temelio.pew }
MIT
Alexandre Chaussier (for Temelio company)
- http://www.temelio.com
- alexandre.chaussier [at] temelio.com