avanov.pyenv
============

Ansible Galaxy role for [pyenv](https://github.com/yyuu/pyenv) on Ubuntu.

Install it with the following command:

```bash
$ ansible-galaxy install avanov.pyenv
```

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

None

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

Here is the list of all variables and their default values:

* ``pyenv_path: "{{ ansible_env.HOME }}/pyenv"``
* ``pyenv_owner: "{{ ansible_env.USER }}"``
* ``pyenv_python_versions: ["3.4.1"]``
* ``pyenv_virtualenvs: [{ venv_name: "latest", py_version: "3.4.1" }]``
* ``pyenv_should_update_existing_pyenv_install: no``


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

None

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

    - hosts: servers
      roles:
         - role: avanov.pyenv
           pyenv_path: "{{ home }}/pyenv"
           pyenv_owner: "{{ instance_owner }}"
           pyenv_python_versions:
             - "3.4.1"
             - "2.7.8"
           pyenv_virtualenvs:
             - venv_name: "latest_v3"
               py_version: "3.4.1"
               
             - venv_name: "latest_v2"
               py_version: "2.7.8"

License
-------

MIT

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

Maxim Avanov (https://maximavanov.com/)

avanov.pyenv
============

Ansible Galaxy role for [pyenv](https://github.com/yyuu/pyenv) on Ubuntu.

Install it with the following command:

```bash
$ ansible-galaxy install avanov.pyenv
```

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

None

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

Here is the list of all variables and their default values:

* ``pyenv_path: "{{ ansible_env.HOME }}/pyenv"``
* ``pyenv_owner: "{{ ansible_env.USER }}"``
* ``pyenv_python_versions: ["3.4.1"]``
* ``pyenv_virtualenvs: [{ venv_name: "latest", py_version: "3.4.1" }]``
* ``pyenv_update_git_install: no``


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

None

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

    - hosts: servers
      roles:
         - role: avanov.pyenv
           pyenv_path: "{{ home }}/pyenv"
           pyenv_owner: "{{ instance_owner }}"
           pyenv_update_git_install: no
           pyenv_python_versions:
             - "3.4.1"
             - "2.7.8"
           pyenv_virtualenvs:
             - venv_name: "latest_v3"
               py_version: "3.4.1"
               
             - venv_name: "latest_v2"
               py_version: "2.7.8"

License
-------

MIT

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

Maxim Avanov (https://maximavanov.com/)

Update role's default values list and the example.
Update role's default values list and the example.