https://github.com/y10k/rubygems_environment
Set rubygems_environment fact storing the result of gem environment command.
https://github.com/y10k/rubygems_environment
ansible ansible-galaxy ansible-role ruby rubygems
Last synced: 2 months ago
JSON representation
Set rubygems_environment fact storing the result of gem environment command.
- Host: GitHub
- URL: https://github.com/y10k/rubygems_environment
- Owner: y10k
- Created: 2018-12-28T14:43:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-09T15:14:56.000Z (almost 7 years ago)
- Last Synced: 2025-01-30T04:16:58.038Z (over 1 year ago)
- Topics: ansible, ansible-galaxy, ansible-role, ruby, rubygems
- Language: Ruby
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
rubygems_environment
=========
Set `rubygems_environment` fact storing the result of `gem
environment` command.
And these two facts are defined.
- `rubygems_executable_directory`
- `rubygems_executable_path`
Requirements
------------
The `gem` command needs to run on the remote machine. If the name of
the `gem` command is different, it must be set in the
`rubygems_command` variable.
Role Variables
--------------
| Variable | Default | Description |
|---------------------------|---------|---------------------------------------------------------------|
|`rubygems_command` |`gem` |rubygems command |
|`rubygems_environment_show`|`false` |display contents of `rubygems_environment` fact on the console.|
Dependencies
------------
None.
Example Playbook
----------------
```yaml
- hosts: servers
roles:
- role: y10k.rubygems_environment
```
License
-------
BSD