Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
/ ansible-role-rbenv Public archive

An Ansible role to install rbenv.

License

Notifications You must be signed in to change notification settings

bluk/ansible-role-rbenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ansible-role-rbenv

GitHub license Build Status

An Ansible role to install rbenv.

Requirements

  1. Add rbenv to your $PATH after install.
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
  1. Run the following:
~/.rbenv/bin/rbenv init

Role Variables

  • rbenv_install_path - The path to install rbenv.

  • rbenv_git_url - The git URL to clone rbenv from.

  • rbenv_git_update - If the cloned rbenv git repository should be updated.

  • ruby_build_git_url - The path to the ruby-build plugin for rbenv.

  • ruby_build_git_update - If the cloned ruby-build git repository should be updated.

Dependencies

No dependencies.

Example Playbook

- hosts: servers
  roles:
     - { role: bluk.rbenv }

License

Apache 2.0