Skip to content

ohiodn8/ansible-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-ruby

How to use Playbook:

  • Clone Repository:

    git clone https://github.com/ohiodn8/ansible-ruby.git
  • cd into repo folder:

    cd ansible-ruby
  • Edit the hosts file in the folder to your liking. As it is, it'll install Ruby on localhost.

  • Run Playbook:

    ansible-playbook playbook.yml

Ansible Playbook to Install RVM and Ruby (on Debian & Ubuntu);; Epel, RVM & Ruby (on Amazon Linux & CentOS)

  • This playbook will install rvm, ruby, nodejs and bundler gem to debian and ubuntu. (The same thing for amazon linux and centos, but an addition of epel-release).

  • (To run the playbook, the playbook has to be in /home/[user], otherwise change the path in ansible.cfg e.g. ~/ansible-ruby)

  • Do not follow the ansible installation steps below; it'll work for ubuntu only. Head over to ansible documentation page for the other OSs.

  • Install Ansible on Ubuntu Server:

    sudo apt-get install software-properties-common && sudo apt-add-repository ppa:ansible/ansible && sudo apt-get update && sudo apt-get install ansible

About

Ansible playbook to install rvm, ruby and nodejs on debian, ubuntu, amazon and centos linux distribution

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors