bngsudheer.ruby
Role Name
=========
Install Ruby 2.2, 2.3, 2.4, or 2.5 on CentOS 7. This role uses Red Hat Software Collections.
Description
============
After you run this role, the chosen Ruby version will be active in new login sessions. If you are already logged in, you will not see the updated Ruby version. To see it, log out and then log back in.
ruby --version
Requirements
None. It is recommended to use the CentOS Base role to enable EPEL.
Role Variables
Variable | Default Value | Description | Required? |
---|---|---|---|
ruby_version | 2.4 | The version of Ruby to install | No |
ruby_install_globally | true | If true, this Ruby version is available to all users | No |
ruby_enable_users | [] | List of specific users to enable this Ruby version for | No |
Dependencies
None. It is recommended to use the CentOS Base role.
Example Playbook
- hosts: servers
vars:
ruby_version: 2.3
roles:
- bngsudheer.ruby
License
BSD
Author Information
Sudheer Satyanarayana.
Informazioni sul progetto
Install Ruby 2.2, Ruby 2.3, Ruby 2.4 or Ruby 2.5 on CentOS
Installa
ansible-galaxy install bngsudheer.ruby
Licenza
bsd-3-clause
Download
11.5k
Proprietario
Software developer and DevOps consultant