<commit_before>Ansible Role for Python
=======================

[![Build Status](https://travis-ci.org/alvistack/ansible-role-python.svg?branch=master)](https://travis-ci.org/alvistack/ansible-role-python)
[![GitHub tag](https://img.shields.io/github/tag/alvistack/ansible-role-python.svg)](https://github.com/alvistack/ansible-role-python)
[![GitHub license](https://img.shields.io/github/license/alvistack/ansible-role-python.svg)](https://github.com/alvistack/ansible-role-python/blob/master/LICENSE)

Ansible Role for Python Installation.

Requirements
------------

This role require Ansible 2.3 or higher.

This role was designed for Ubuntu 16.04/14.04 or CentOS 7/6.

Role Variables
--------------

<table>
<colgroup>
<col width="20%" />
<col width="20%" />
<col width="20%" />
<col width="20%" />
<col width="20%" />
</colgroup>
<thead>
<tr class="header">
<th>parameter</th>
<th>required</th>
<th>default</th>
<th>choices</th>
<th>comments</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>pip</td>
<td>no</td>
<td><code>[]</code></td>
<td></td>
<td>Passing <code>list</code> of parameters to <a href="http://docs.ansible.com/ansible/pip_module.html">pip module</a>.</td>
</tr>
</tbody>
</table>

Dependencies
------------

No additional role dependencies.

Example Playbook
----------------

    - hosts: all
      roles:
        - role: python

License
-------

-   Code released under [Apache License 2.0](https://github.com/alvistack/ansible-role-python/blob/master/LICENSE)
-   Docs released under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/)

Author Information
------------------

-   <NAME>
    -   <https://twitter.com/hswong3i>
    -   <https://github.com/hswong3i>

<commit_msg>add example for using pip<commit_after>Ansible Role for Python
=======================

[![Build Status](https://travis-ci.org/alvistack/ansible-role-python.svg?branch=master)](https://travis-ci.org/alvistack/ansible-role-python)
[![GitHub tag](https://img.shields.io/github/tag/alvistack/ansible-role-python.svg)](https://github.com/alvistack/ansible-role-python)
[![GitHub license](https://img.shields.io/github/license/alvistack/ansible-role-python.svg)](https://github.com/alvistack/ansible-role-python/blob/master/LICENSE)

Ansible Role for Python Installation.

Requirements
------------

This role require Ansible 2.3 or higher.

This role was designed for Ubuntu 16.04/14.04 or CentOS 7/6.

Role Variables
--------------

<table>
<colgroup>
<col width="20%" />
<col width="20%" />
<col width="20%" />
<col width="20%" />
<col width="20%" />
</colgroup>
<thead>
<tr class="header">
<th>parameter</th>
<th>required</th>
<th>default</th>
<th>choices</th>
<th>comments</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>pip</td>
<td>no</td>
<td><code>[]</code></td>
<td></td>
<td>Passing <code>list</code> of parameters to <a href="http://docs.ansible.com/ansible/pip_module.html">pip module</a>.</td>
</tr>
</tbody>
</table>

Dependencies
------------

No additional role dependencies.

Example Playbook
----------------

    - hosts: all
      roles:
        - role: python
          pip:
            - { state: "latest", name: "yamllint" }

License
-------

-   Code released under [Apache License 2.0](https://github.com/alvistack/ansible-role-python/blob/master/LICENSE)
-   Docs released under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/)

Author Information
------------------

-   <NAME>
    -   <https://twitter.com/hswong3i>
    -   <https://github.com/hswong3i>


{'fraction_non_alphanumeric': 0.238204175007149, 'fraction_numerical': 0.017157563625965114, 'mean_word_length': 3.3078817733990147, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, 'https://': 18, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '431059', 'n_tokens_mistral': 1337, 'n_tokens_neox': 1243, 'n_words': 221}