Skip to content

Instantly share code, notes, and snippets.

@matiaskorhonen
Created March 25, 2015 11:55
Show Gist options
  • Save matiaskorhonen/f98980dfa5aa369479bc to your computer and use it in GitHub Desktop.
Save matiaskorhonen/f98980dfa5aa369479bc to your computer and use it in GitHub Desktop.
rvm1-ansible log output
TASK: [rvm1-ansible | Detect if rubies are installed] *************************
<redacted.example.com>
<redacted.example.com>
<redacted.example.com> ConnectTimeout=10 ProxyCommand=nc PasswordAuthentication=no KbdInteractiveAuthentication=no User=kisko ControlPath=/Users/matt/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey ControlMaster=auto ControlPersist=60s
<redacted.example.com>
<redacted.example.com> ConnectTimeout=10 'sudo -k && sudo -H -S -p "[sudo via ansible, key=dfwueqizbfczpzrzcuvhisxtuuvourei] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-dfwueqizbfczpzrzcuvhisxtuuvourei; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/kisko/.ansible/tmp/ansible-tmp-1427283939.02-178307702297263/command; rm -rf /home/kisko/.ansible/tmp/ansible-tmp-1427283939.02-178307702297263/ >/dev/null 2>&1'"'"'' ProxyCommand=nc PasswordAuthentication=no KbdInteractiveAuthentication=no User=kisko ControlPath=/Users/matt/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey ControlMaster=auto ControlPersist=60s
ok: [redacted.example.com] => (item=ruby-2.2.1) => {"changed": false, "cmd": ["/usr/local/lib/rvm/bin/rvm", "ruby-2.2.1", "do", "true"], "delta": "0:00:00.657960", "end": "2015-03-25 13:45:43.288034", "failed": false, "failed_when_result": false, "item": "ruby-2.2.1", "rc": 0, "start": "2015-03-25 13:45:42.630074", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}
TASK: [rvm1-ansible | Install rubies] *****************************************
skipping: [redacted.example.com] => (item={u'cmd': [u'/usr/local/lib/rvm/bin/rvm', u'ruby-2.2.1', u'do', u'true'], u'end': u'2015-03-25 13:45:43.288034', u'stderr': u'', u'stdout': u'', 'item': 'ruby-2.2.1', u'changed': False, u'rc': 0, 'failed': False, u'warnings': [], u'delta': u'0:00:00.657960', 'invocation': {'module_name': u'command', 'module_args': u'/usr/local/lib/rvm/bin/rvm ruby-2.2.1 do true'}, 'stdout_lines': [], 'failed_when_result': False, u'start': u'2015-03-25 13:45:42.630074'})
TASK: [rvm1-ansible | Detect default ruby version] ****************************
<redacted.example.com>
<redacted.example.com>
<redacted.example.com> ConnectTimeout=10 ProxyCommand=nc PasswordAuthentication=no KbdInteractiveAuthentication=no User=kisko ControlPath=/Users/matt/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey ControlMaster=auto ControlPersist=60s
<redacted.example.com>
<redacted.example.com> ConnectTimeout=10 'sudo -k && sudo -H -S -p "[sudo via ansible, key=wbjwbgviwdtulaxwkjjuzkbndalewtlp] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-wbjwbgviwdtulaxwkjjuzkbndalewtlp; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/kisko/.ansible/tmp/ansible-tmp-1427283943.79-53752032059349/command; rm -rf /home/kisko/.ansible/tmp/ansible-tmp-1427283943.79-53752032059349/ >/dev/null 2>&1'"'"'' ProxyCommand=nc PasswordAuthentication=no KbdInteractiveAuthentication=no User=kisko ControlPath=/Users/matt/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey ControlMaster=auto ControlPersist=60s
ok: [redacted.example.com] => {"changed": false, "cmd": ["/usr/local/lib/rvm/bin/rvm", "alias", "list", "default"], "delta": "0:00:00.526008", "end": "2015-03-25 13:45:47.906256", "rc": 0, "start": "2015-03-25 13:45:47.380248", "stderr": "", "stdout": "default => ruby-2.1.3", "stdout_lines": ["default => ruby-2.1.3"], "warnings": []}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment