Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Latest commit

 

History

History
48 lines (33 loc) · 1.5 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.5 KB

ansible-pyenv-virtualenv

Build Status

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

License

MIT