Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK [ruby : Install rubies] fails #56

Open
agentargyle opened this issue Aug 26, 2016 · 2 comments
Open

TASK [ruby : Install rubies] fails #56

agentargyle opened this issue Aug 26, 2016 · 2 comments

Comments

@agentargyle
Copy link

agentargyle commented Aug 26, 2016

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
Copy link

hellola commented Oct 18, 2016

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

@agentargyle
Copy link
Author

@hellola Sorry- I can't recall!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants