a-chernykh / railsbox

Fast and easy Ruby on Rails virtual machines
https://railsbox.io
MIT License
320 stars 52 forks source link

TASK [ruby : Install rubies] fails #56

Open agentargyle opened 8 years ago

agentargyle commented 8 years ago

Here's what I get

[DEPRECATION WARNING]: Using bare variables is deprecated. Update your 
playbook so that the environment value uses the full variable syntax 

('{{detect_rubies.results}}').
This feature will be removed in a future 
release. Deprecation warnings can be disabled by setting 
deprecation_warnings=False in ansible.cfg.
failed: [myapp] (item={'_ansible_item_result': True, u'end': u'2016-08-26 18:56:05.748305', '_ansible_no_log': False, u'stdout': u'', u'changed': False, u'ra': 2, 'item': u'2.2.0', u'cmd': [u'/home/vagrant/.rvm/bin/rvm', u'2.2.0', u'do', u'true'], u'stderr': u'Ruby ruby-2.2.0 is not installed.', u'delta': u'0:00:12.370479', 'invocation': {'module_name': u'command', u'module_args': {u'creates': None, u'executable': None, u'_uses_shell': False, u'_raw_params': u'/home/vagrant/.rvm/bin/rvm 2.2.0 do true', u'removes': None, u'warn': True, u'chdir': None}}, 'stdout_lines': [], 'failed_when_result': False, u'start': u'2016-08-26 18:55:53.377826', u'warnings': [], 'failed': False}) => {"changed": true, "cmd": ["/home/vagrant/.rvm/bin/rvm", "install", "2.2.0", "--binary"], "delta": "0:00:48.893371", "end": "2016-08-26 18:56:56.555375", "failed": true, "item": {"changed": false, "cmd": ["/home/vagrant/.rvm/bin/rvm", "2.2.0", "do", "true"], "delta": "0:00:12.370479", "end": "2016-08-26 18:56:05.748305", "failed": false, "failed_when_result": false, "invocation": {"module_args": {"_raw_params": "/home/vagrant/.rvm/bin/rvm 2.2.0 do true", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "item": "2.2.0", "rc": 2, "start": "2016-08-26 18:55:53.377826", "stderr": "Ruby ruby-2.2.0 is not installed.", "stdout": "", "stdout_lines": [], "warnings": []}, "rc": 1, "start": "2016-08-26 18:56:07.662004", "stderr": "Requested binary installation but no rubies are available to download, consider skipping --binary flag.", "stdout": "Searching for binary rubies, this might take some time.", "stdout_lines": ["Searching for binary rubies, this might take some time."], "warnings": []}
...ignoring

Then the next one just hangs...

TASK [ruby : Install rubies (non-binary)] **************************************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your 
playbook so that the environment value uses the full variable syntax 

('{{detect_rubies.results}}').
This feature will be removed in a future 
release. Deprecation warnings can be disabled by setting 
deprecation_warnings=False in ansible.cfg.
hellola commented 7 years ago

I'm experiencing the same problem, did you ever get this working @agentargyle?

agentargyle commented 7 years ago

@hellola Sorry- I can't recall!