rbenv

ansible-rbenv

Build Status

ansible role to install rbenv and ruby-build.

https://galaxy.ansible.com/suzuki-shunsuke/rbenv/

Requirements

  • git

Role Variables

name required default description
rbenv_root no $RBENV_ROOT >> $HOME/.rbenv
rbenv_repo no https://github.com/rbenv/rbenv
rbenv_version no HEAD
rbenv_update no yes
rbenv_is_dependencies_installed no no By default build dependencies are not installed
rbenv_rc_path no "NOT ADD" By default configuration is not added
rbenv_darwin_build_dependencies no see defaults/main.yml If rbenv_is_dependencies_installed is "no" this is ignored
rbenv_redhat_build_dependencies no see defaults/main.yml If rbenv_is_dependencies_installed is "no" this is ignored
rbenv_debian_build_dependencies no see defaults/main.yml If rbenv_is_dependencies_installed is "no" this is ignored

About build dependencies, see also here.

Dependencies

Nothing.

Example Playbook

- hosts: servers
  roles:
  - role: suzuki-shunsuke.rbenv
    rbenv_version: v1.1.1
    rbenv_update: no
    rbenv_root: "{{ ansible_env.HOME }}/.ghq/github.com/rbenv/rbenv"
    rbenv_is_dependencies_installed: yes
    rbenv_rc_path: "{{ ansible_env.HOME }}/.bashrc"
    rbenv_darwin_build_dependencies:
    - readline

Change Log

See CHANGELOG.

See also

License

MIT

About

Install rbenv and ruby-build.

Install
ansible-galaxy install suzuki-shunsuke/ansible-rbenv
GitHub repository
License
mit
Downloads
4640
Owner
Platform Engineer / OSS Developer / Go