suzuki-shunsuke.pyenv-virtualenv
ansible-pyenv-virtualenv
ansible role to install pyenv-virtualenv.
Requirements
- git
- pyenv
Role Variables
| 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 |
Dependencies
Nothing.
Example Playbook
- 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
See also
- suzuki-shunsuke.pyenv: ansible role to install pyenv
- suzuki-shunsuke.pyenv-module: ansible module to run
pyenvcommand
License
Install
ansible-galaxy install suzuki-shunsuke.pyenv-virtualenvLicense
mit
Downloads
479
Owner
Platform Engineer / OSS Developer / Go
