suzuki-shunsuke.pyenv
ansible-pyenv
ansible role to install pyenv.
Requirements
- git
Role Variables
| 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.
Dependencies
Nothing.
Example Playbook
- 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
Change Log
See CHANGELOG.md.
Contributing
See CONTRIBUTING.md.
See also
- suzuki-shunsuke.pyenv-virtualenv: ansible role to install pyenv-virtualenv
- suzuki-shunsuke.pyenv-module: ansible module to run
pyenvcommand
License
Install
ansible-galaxy install suzuki-shunsuke.pyenvLicense
mit
Downloads
1.1k
Owner
Platform Engineer / OSS Developer / Go
