ansible role to install pyenv.
- git
name | required | default | description |
---|---|---|---|
pyenv_root | no | $PYENV_ROOT >> $HOME/.pyenv | |
pyenv_repo | no | https://github.com/pyenv/pyenv | |
pyenv_version | no | HEAD | |
pyenv_update | no | true | |
pyenv_is_dependencies_installed | no | false | By default build dependencies are not installed |
pyenv_rc_path | no | "NOT ADD" | By default configuration is not added |
pyenv_darwin_build_dependencies | no | see defaults/main.yml | If pyenv_is_dependencies_installed is "no" this is ignored |
pyenv_redhat_build_dependencies | no | see defaults/main.yml | If pyenv_is_dependencies_installed is "no" this is ignored |
pyenv_debian_build_dependencies | no | see defaults/main.yml | If pyenv_is_dependencies_installed is "no" this is ignored |
pyenv_darwin_additional_build_dependencies | no | [] | If pyenv_is_dependencies_installed is "no" this is ignored |
pyenv_redhat_additional_build_dependencies | no | [] | If pyenv_is_dependencies_installed is "no" this is ignored |
pyenv_debian_additional_build_dependencies | no | [] | If pyenv_is_dependencies_installed is "no" this is ignored |
About build dependencies, see also here.
Nothing.
- hosts: servers
roles:
- role: suzuki-shunsuke.pyenv
pyenv_root: "{{ ansible_env.HOME }}/.ghq/github.com/pyenv/pyenv"
pyenv_version: v1.1.0
pyenv_update: false
pyenv_is_dependencies_installed: true
pyenv_rc_path: "{{ ansible_env.HOME }}/.bashrc"
pyenv_darwin_build_dependencies:
- readline
See CHANGELOG.md.
See CONTRIBUTING.md.
- suzuki-shunsuke.pyenv-virtualenv: ansible role to install pyenv-virtualenv
- suzuki-shunsuke.pyenv-module: ansible module to run
pyenv
command