Skip to content

Instantly share code, notes, and snippets.

@gregbuehler
Last active December 25, 2015 07:49
Show Gist options
  • Save gregbuehler/6942216 to your computer and use it in GitHub Desktop.
Save gregbuehler/6942216 to your computer and use it in GitHub Desktop.
TASK: [debug - java] **********************************************************
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant
<127.0.0.1> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/gbuehler/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=2200', '-o', 'IdentityFile=/Users/gbuehler/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1381526141.27-268310734134402 && chmod a+rx $HOME/.ansible/tmp/ansible-1381526141.27-268310734134402 && echo $HOME/.ansible/tmp/ansible-1381526141.27-268310734134402'"]
<127.0.0.1> REMOTE_MODULE command java -version #USE_SHELL
<127.0.0.1> PUT /var/folders/t8/jn34z4m143g8l_qm7xk72fcc0000gn/T/tmpON230w TO /home/vagrant/.ansible/tmp/ansible-1381526141.27-268310734134402/command
<127.0.0.1> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/gbuehler/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=2200', '-o', 'IdentityFile=/Users/gbuehler/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c '/usr/bin/python /home/vagrant/.ansible/tmp/ansible-1381526141.27-268310734134402/command; rm -rf /home/vagrant/.ansible/tmp/ansible-1381526141.27-268310734134402/ >/dev/null 2>&1'"]
changed: [publisher] => {"changed": true, "cmd": "java -version ", "delta": "0:00:00.110629", "end": "2013-10-11 21:15:41.622251", "item": "", "rc": 0, "start": "2013-10-11 21:15:41.511622", "stderr": "java version \"1.6.0_43\"\nJava(TM) SE Runtime Environment (build 1.6.0_43-b01)\nJava HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)", "stdout": ""}
TASK: [debug - java_home] *****************************************************
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant
<127.0.0.1> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/gbuehler/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=2200', '-o', 'IdentityFile=/Users/gbuehler/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1381526141.51-105159209208377 && chmod a+rx $HOME/.ansible/tmp/ansible-1381526141.51-105159209208377 && echo $HOME/.ansible/tmp/ansible-1381526141.51-105159209208377'"]
<127.0.0.1> REMOTE_MODULE command echo $JAVA_HOME #USE_SHELL
<127.0.0.1> PUT /var/folders/t8/jn34z4m143g8l_qm7xk72fcc0000gn/T/tmpzR3wZs TO /home/vagrant/.ansible/tmp/ansible-1381526141.51-105159209208377/command
<127.0.0.1> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/gbuehler/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=2200', '-o', 'IdentityFile=/Users/gbuehler/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c '/usr/bin/python /home/vagrant/.ansible/tmp/ansible-1381526141.51-105159209208377/command; rm -rf /home/vagrant/.ansible/tmp/ansible-1381526141.51-105159209208377/ >/dev/null 2>&1'"]
changed: [publisher] => {"changed": true, "cmd": "echo $JAVA_HOME ", "delta": "0:00:00.002485", "end": "2013-10-11 21:15:41.754757", "item": "", "rc": 0, "start": "2013-10-11 21:15:41.752272", "stderr": "", "stdout": "/usr/java/latest"}
TASK: [debug - path] **********************************************************
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant
<127.0.0.1> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/gbuehler/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=2200', '-o', 'IdentityFile=/Users/gbuehler/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1381526141.64-141261620502675 && chmod a+rx $HOME/.ansible/tmp/ansible-1381526141.64-141261620502675 && echo $HOME/.ansible/tmp/ansible-1381526141.64-141261620502675'"]
<127.0.0.1> REMOTE_MODULE command echo $PATH #USE_SHELL
<127.0.0.1> PUT /var/folders/t8/jn34z4m143g8l_qm7xk72fcc0000gn/T/tmp2MUJle TO /home/vagrant/.ansible/tmp/ansible-1381526141.64-141261620502675/command
<127.0.0.1> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/gbuehler/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=2200', '-o', 'IdentityFile=/Users/gbuehler/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c '/usr/bin/python /home/vagrant/.ansible/tmp/ansible-1381526141.64-141261620502675/command; rm -rf /home/vagrant/.ansible/tmp/ansible-1381526141.64-141261620502675/ >/dev/null 2>&1'"]
changed: [publisher] => {"changed": true, "cmd": "echo $PATH ", "delta": "0:00:00.002007", "end": "2013-10-11 21:15:41.886805", "item": "", "rc": 0, "start": "2013-10-11 21:15:41.884798", "stderr": "", "stdout": "/usr/java/latest/bin:/usr/local/bin:/bin:/usr/bin"}
TASK: [debug - which java] ****************************************************
<127.0.0.1> ESTABLISH CONNECTION FOR USER: vagrant
<127.0.0.1> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/gbuehler/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=2200', '-o', 'IdentityFile=/Users/gbuehler/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1381526141.77-46614863111955 && chmod a+rx $HOME/.ansible/tmp/ansible-1381526141.77-46614863111955 && echo $HOME/.ansible/tmp/ansible-1381526141.77-46614863111955'"]
<127.0.0.1> REMOTE_MODULE command echo $(which java) #USE_SHELL
<127.0.0.1> PUT /var/folders/t8/jn34z4m143g8l_qm7xk72fcc0000gn/T/tmpc2qGqm TO /home/vagrant/.ansible/tmp/ansible-1381526141.77-46614863111955/command
<127.0.0.1> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/gbuehler/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=2200', '-o', 'IdentityFile=/Users/gbuehler/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '127.0.0.1', "/bin/sh -c '/usr/bin/python /home/vagrant/.ansible/tmp/ansible-1381526141.77-46614863111955/command; rm -rf /home/vagrant/.ansible/tmp/ansible-1381526141.77-46614863111955/ >/dev/null 2>&1'"]
changed: [publisher] => {"changed": true, "cmd": "echo $(which java) ", "delta": "0:00:00.012865", "end": "2013-10-11 21:15:42.026951", "item": "", "rc": 0, "start": "2013-10-11 21:15:42.014086", "stderr": "", "stdout": "/usr/java/latest/bin/java"}
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment