suzuki-shunsuke.rbenv
ansible-rbenv
This is an Ansible role designed to install rbenv and ruby-build.
You can find it here: https://galaxy.ansible.com/suzuki-shunsuke/rbenv/
Requirements
- You need to have git installed.
Role Variables
| Name | Required | Default | Description |
|---|---|---|---|
| rbenv_root | No | $RBENV_ROOT >> $HOME/.rbenv | Where rbenv will be installed |
| rbenv_repo | No | https://github.com/rbenv/rbenv | Repository of rbenv |
| rbenv_version | No | HEAD | Version of rbenv to install |
| rbenv_update | No | yes | Whether to update rbenv |
| rbenv_is_dependencies_installed | No | no | Set to yes if you want to install dependencies |
| rbenv_rc_path | No | "NOT ADD" | Path for configuration file, defaults to none |
| rbenv_darwin_build_dependencies | No | See defaults/main.yml | Build dependencies for macOS, ignored if rbenv_is_dependencies_installed is "no" |
| rbenv_redhat_build_dependencies | No | See defaults/main.yml | Build dependencies for Red Hat, ignored if rbenv_is_dependencies_installed is "no" |
| rbenv_debian_build_dependencies | No | See defaults/main.yml | Build dependencies for Debian, ignored if rbenv_is_dependencies_installed is "no" |
For more information about build dependencies, check here.
Dependencies
There are no dependencies.
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
For updates and changes, see CHANGELOG.
See also
- suzuki-shunsuke.rbenv-module: This is the Ansible module to run rbenv commands.
License
This project is licensed under the MIT license.
Installa
ansible-galaxy install suzuki-shunsuke.rbenvLicenza
mit
Download
4.7k
Proprietario
Platform Engineer / OSS Developer / Go
