ansible role to install pyenv-virtualenv.
- git
- pyenv
name | required | default | description |
---|---|---|---|
pyenv_root | no | $PYENV_ROOT >> $HOME/.pyenv | If pyenv_virtualenv_root is defined, this variable is ignored. |
pyenv_virtualenv_root | no | pyenv_root | If this variable is undefined, pyenv_root is used. |
pyenv_virtualenv_rc_path | no | "NOT ADD" | By default configuration is not added |
pyenv_virtualenv_repo | no | https://github.com/pyenv/pyenv-virtualenv | |
pyenv_virtualenv_version | no | HEAD | |
pyenv_virtualenv_update | no | yes |
Nothing.
- hosts: servers
roles:
- role: suzuki-shunsuke.pyenv-virtualenv
pyenv_root: "{{ ansible_env.HOME }}/.ghq/github.com/pyenv/pyenv"
pyenv_virtualenv_rc_path: "{{ ansible_env.HOME }}/.bashrc"
pyenv_virtualenv_update: no
pyenv_virtualenv_version: v1.1.0
- suzuki-shunsuke.pyenv: ansible role to install pyenv
- suzuki-shunsuke.pyenv-module: ansible module to run
pyenv
command