spitfast.rbenv

Rbenv Ansible Role

Build Status

This is an Ansible role that installs rbenv and the rbenv ruby-build plugin for a specified user.

Requirements

You need Ansible version 2.0.1 or higher.

Role Variables

Here are some default variables. You can change these in your playbook.

---
rbenv_version: v1.0.0
rbenv_repo_path: https://github.com/rbenv/rbenv.git
rbenv_ruby_build_repo_path: https://github.com/sstephenson/ruby-build.git
rbenv_user: vagrant
rbenv_root_path: "/home/{{ rbenv_user }}/.rbenv"
rbenv_ruby_version: 2.3.0
rbenv_gems:
  - bundler

Dependencies

There are no dependencies.

Example Playbook

---
- hosts: localhost
  roles:
    - spitfast.rbenv

Usage

Create your playbook as shown above and run one of these commands:

$ ansible-playbook playbook.yml - to execute all tasks in the role

$ ansible-playbook playbook.yml --tags=gems - to run only the gem installation task

$ ansible-playbook playbook.yml --skip-tags=gems - to execute only the rbenv installation task (without installing gems)

License

MIT

Author Information

Gordon Shumway

Informazioni sul progetto

Install rbenv and ruby-build plugin for specified user.

Installa
ansible-galaxy install spitfast.rbenv
Licenza
Unknown
Download
300
Proprietario