项目作者: Temelio

项目描述 :
Ansible role to install and configure Pew
高级语言: Python
项目地址: git://github.com/Temelio/ansible-role-pew.git
创建时间: 2018-01-03T15:27:49Z
项目社区:https://github.com/Temelio/ansible-role-pew

开源协议:MIT License

下载


pew

Build Status
Build Status
Updates
Python 3
Ansible Role

Install pew package.

Today, only globally pip install is available, but you’re free to open PR for new installation methods or OS support.

Requirements

This role requires Ansible 2.2 or higher,
and platform requirements are listed in the metadata file.

Testing

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

Running tests

Using Docker driver

  1. $ tox

Role Variables

Default role variables

  1. # Package management
  2. pew_apt_update_cache: True
  3. pew_apt_cache_valid_time: 3600
  4. pew_system_dependencies: "{{ _pew_system_dependencies | default([]) }}"
  5. pew_pip_packages:
  6. - name: 'pew'
  7. version: '1.1.2'
  8. # Install method
  9. # * pip: use python packages on pypi
  10. pew_install_method: 'pip'
  11. pew_install_globally: True
  12. pew_manage_system_dependencies: True

Debian OS family role variables

  1. _pew_system_dependencies:
  2. - name: 'git'
  3. - name: 'python-pip'

Dependencies

None

Example Playbook

  1. - hosts: servers
  2. roles:
  3. - { role: Temelio.pew }

License

MIT

Author Information

Alexandre Chaussier (for Temelio company)