Skip to content

azmodude/ansible-role-pyenv

Repository files navigation

ansible-role-pyenv

Build Status

Install pyenv using pyenv-installer.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

pyenv_users:
  - name: user_a
  - name: user_b
    root: .pyenv_alternate

Install pyenv for given user(s). Default pyenv_root is set in defaults/main.yml (defaults to .pyenv); specifying root for a pyenv_user overrides it.

Dependencies

None.

Example Playbook

- hosts: servers
  vars_files:
    - vars/main.yml
  roles:
    - role: azmodude.pyenv
      pyenv_users:
        - name: user_a
        - name: user_b
          root: .pyenv_alternate

License

MIT

Author Information

None.