eendroroy.rbenv

rbenv

Build Status

Contributors GitHub last commit (branch) license GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests

Ansible role to install rbenv.

Role Variables

To install rbenv for all users, set rbenv_env: system. For a single user installation, use rbenv_env: local.

Add any plugins you want under the rbenv.plugins variable.

Specify the Ruby versions to install using the rubies variable.

Example:

rbenv_env: system

rbenv:
  plugins:
    - { name: ruby-default-gems, repo: 'https://github.com/rbenv/ruby-default-gems.git' }

rubies:
  - version: 2.5.0

Supported Operating Systems

  • Ubuntu
    • trusty (14.04)
    • xenial (16.04) - requires python2 to be installed for ansible support
  • CentOS
    • 7
  • RHEL
    • 7

Example Playbook

Here’s how to use this role in your playbook (with variables):

- hosts: servers
  roles:
     - { role: eendroroy.rbenv, rbenv_env: system }

Testing Locally

To test, start the Vagrant machines with:

vagrant up

Then run the test script:

./run_vagrant_test.sh

Contributing

You can report bugs and submit pull requests at the ansible-role-rbenv GitHub repository. We aim to create a safe and welcoming space for everyone, so please follow the Contributor Covenant code of conduct.

Authors

License

This project is licensed under the MIT License. For details, see the LICENSE.md file.

Informazioni sul progetto

rbenv

Installa
ansible-galaxy install eendroroy.rbenv
Licenza
mit
Download
198
Proprietario
Write code!