{"id":13654996,"url":"https://github.com/geerlingguy/ansible-role-ruby","last_synced_at":"2025-04-04T13:09:36.697Z","repository":{"id":14794485,"uuid":"17516562","full_name":"geerlingguy/ansible-role-ruby","owner":"geerlingguy","description":"Ansible Role - Ruby","archived":false,"fork":false,"pushed_at":"2025-01-31T03:25:45.000Z","size":90,"stargazers_count":91,"open_issues_count":0,"forks_count":88,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T12:05:52.078Z","etag":null,"topics":["ansible","gem","installs-ruby","language","playbook","role","ruby","ruby-installation"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/geerlingguy/ruby/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geerlingguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"geerlingguy","patreon":"geerlingguy"}},"created_at":"2014-03-07T14:34:16.000Z","updated_at":"2025-01-31T03:25:48.000Z","dependencies_parsed_at":"2024-01-14T16:10:56.841Z","dependency_job_id":"2fb7da3e-dc70-4857-badb-135a244a6b7f","html_url":"https://github.com/geerlingguy/ansible-role-ruby","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geerlingguy","download_url":"https://codeload.github.com/geerlingguy/ansible-role-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182335,"owners_count":20897379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","gem","installs-ruby","language","playbook","role","ruby","ruby-installation"],"created_at":"2024-08-02T03:00:54.457Z","updated_at":"2025-04-04T13:09:36.677Z","avatar_url":"https://github.com/geerlingguy.png","language":"Shell","funding_links":["https://github.com/sponsors/geerlingguy","https://patreon.com/geerlingguy"],"categories":["ruby","Ansible roles"],"sub_categories":["Languages"],"readme":"# Ansible Role: Ruby\n\n[![CI](https://github.com/geerlingguy/ansible-role-ruby/actions/workflows/ci.yml/badge.svg)](https://github.com/geerlingguy/ansible-role-ruby/actions/workflows/ci.yml)\n\nInstalls Ruby and bundler gem on Linux.\n\n## Requirements\n\nNone.\n\n## Role Variables\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml`):\n\n    workspace: /root\n\nThe location where temporary files will be downloaded in preparation for Ruby installation.\n\n    ruby_install_bundler: true\n\nWhether this role should install [Bundler](http://bundler.io/).\n\n    ruby_install_gems: []\n\nA list of Ruby gems to install (just the name of the gem to be installed). This is meant as a simple convenience, and will only install the latest version of the gem. If you need to install gems with more options or specificity, you can do so elsewhere in your playbook.\n\nYou can also use a dictionary for each gem that allows setting the `version` and\n`user_install` keys for the `gem` Ansible module.  For example:\n\n    ruby_install_gems:\n      - name: bundler\n        version: '\u003c 2'\n        user_install: false\n\nYou can mix the two syntaxes, using either a dict or a string (the gem name) for each gem.\n\n    ruby_install_gems_user: username\n\nThe user account under which Ruby gems will be installed. Defaults to the `ansible_ssh_user` if not set.\n\n    ruby_install_from_source: false\n\nBy default, this role will install whatever version of ruby is available through your system's package manager (`apt` or `yum`). You can install whatever version you like (including the latest release) by setting this to `true` and/or updating the `ruby_download_url` and `ruby_version`.\n\n    ruby_download_url: http://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.0.tar.gz\n\nThe URL from which Ruby will be downloaded (only used if `ruby_install_from_source` is `true`).\n\n    ruby_version: 3.0.0\n\nThe version of ruby that will be installed (only used if `ruby_install_from_source` is `true`).\n\n    ruby_source_configure_command: ./configure --enable-shared\n\nThe `configure` command that will be run (only used if `ruby_install_from_source` is `true`).\n\n    ruby_rubygems_package_name: rubygems\n\nThe name of the `rubygems` package. Generally, the default should work; but it will be set to `rubygems-integration` automatically on Ubuntu Trusty (14.04).\n\n## Dependencies\n\nNone.\n\n## Example Playbook\n\n    - hosts: server\n      roles:\n        - role: geerlingguy.ruby\n\n## License\n\nMIT / BSD\n\n## Author Information\n\nThis role was created in 2014 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeerlingguy%2Fansible-role-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-ruby/lists"}