An Ansible role to install pyenv.
- Add
pyenv
to your$PATH
after install.
echo 'export PATH="$HOME/.pyenv/bin:$PATH"' >> ~/.bash_profile
- Run the following:
~/.pyenv/bin/pyenv init
-
pyenv_install_path
- The path to installpyenv
. -
pyenv_git_url
- The git URL to clonepyenv
from. -
pyenv_git_update
- If the clonedpyenv
git repository should be updated. -
pyenv_virtualenv_git_url
- The path to thepython-build
plugin forpyenv
. -
pyenv_virtualenv_git_update
- If the clonedpython-build
git repository should be updated.
No dependencies.
- hosts: servers
roles:
- { role: bluk.pyenv }
Apache 2.0