Skip to content

suzuki-shunsuke/ansible-pyenv-virtualenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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