Skip to content

Latest commit

 

History

History
83 lines (61 loc) · 1.54 KB

File metadata and controls

83 lines (61 loc) · 1.54 KB

ansible-ruby

Build Status

Install & configure ruby; install extra gems.

Installation

ansible-galaxy install dotstrap.ruby

Requirements

A system package manager.

Role Variables

See default variables & variables.

Dependencies

None.

Example Playbook

Using all the default variables:

    - hosts: servers
      roles:
         - role: dotstrap.ruby

Overriding some of the default variables:

    - hosts: servers
      roles:
         - role: dotstrap.ruby
           install_state: latest
           configuration_state: present
           gem_home: "{{ ansible_user_dir }}/.gem"
           gems: 
             - thor
             - yard
             - travis

Notes

Warning: This role modifies your default shell configuration file, eg. ~/.bash_profile, ~/.zshrc or ~/.config/fish/config.fish.

License

MIT

Author Information

@mwilliammyers