Install pyenv using pyenv-installer.
None.
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.
None.
- hosts: servers
vars_files:
- vars/main.yml
roles:
- role: azmodude.pyenv
pyenv_users:
- name: user_a
- name: user_b
root: .pyenv_alternate
MIT
None.