Skip to content

Instantly share code, notes, and snippets.

@aggress
Created June 6, 2014 17:13
Show Gist options
  • Save aggress/a09d875ff961fbfe4423 to your computer and use it in GitHub Desktop.
Save aggress/a09d875ff961fbfe4423 to your computer and use it in GitHub Desktop.
https://github.com/aggress/ansible-mapr
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
<127.0.0.1> REMOTE_MODULE setup
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
<m7b> REMOTE_MODULE setup
<127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029 && echo $HOME/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029']
<m7b> EXEC ['sshpass', '-d10', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1402074540.16-275366681857235 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1402074540.16-275366681857235 && echo $HOME/.ansible/tmp/ansible-tmp-1402074540.16-275366681857235'"]
<127.0.0.1> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmpZjtRFH TO /Users/Richard/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029/setup
<127.0.0.1> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=xfucmmnngaakrzojuosuatbjpbtjsqvc] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-xfucmmnngaakrzojuosuatbjpbtjsqvc; /usr/bin/python /Users/Richard/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029/setup; rm -rf /Users/Richard/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029/ >/dev/null 2>&1'"'"''
<m7b> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmpNrRGvN TO /home/vagrant/.ansible/tmp/ansible-tmp-1402074540.16-275366681857235/setup
failed: [127.0.0.1] => {"failed": true, "parsed": false}
invalid output was: [sudo via ansible, key=xfucmmnngaakrzojuosuatbjpbtjsqvc] password:
<m7b> EXEC ['sshpass', '-d10', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=ofliaeqthxrcimzgdeflfsqlnehinjfg] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-ofliaeqthxrcimzgdeflfsqlnehinjfg; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1402074540.16-275366681857235/setup; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1402074540.16-275366681857235/ >/dev/null 2>&1\'"\'"\'\'']
ok: [m7b]
TASK: [Install Hue plugins to Jobtrackers] ************************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
<m7b> REMOTE_MODULE command cp /opt/mapr/hue/hue-2.5.0/desktop/libs/hadoop/java-lib/hue-plugins-*.jar /opt/mapr/hadoop/hadoop-0.20.2/lib/ #USE_SHELL
<m7b> EXEC ['sshpass', '-d4', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1402074543.11-76217576406742 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1402074543.11-76217576406742 && echo $HOME/.ansible/tmp/ansible-tmp-1402074543.11-76217576406742'"]
<m7b> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmpu6rR8x TO /home/vagrant/.ansible/tmp/ansible-tmp-1402074543.11-76217576406742/command
<m7b> EXEC ['sshpass', '-d4', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=zknjbulrlkbngejyfxcioxysgufjisjy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-zknjbulrlkbngejyfxcioxysgufjisjy; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1402074543.11-76217576406742/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1402074543.11-76217576406742/ >/dev/null 2>&1\'"\'"\'\'']
changed: [m7b] => {"changed": true, "cmd": "cp /opt/mapr/hue/hue-2.5.0/desktop/libs/hadoop/java-lib/hue-plugins-*.jar /opt/mapr/hadoop/hadoop-0.20.2/lib/ ", "delta": "0:00:00.010503", "end": "2014-06-06 17:08:38.128506", "item": "", "rc": 0, "start": "2014-06-06 17:08:38.118003", "stderr": "", "stdout": ""}
PLAY [all] ********************************************************************
TASK: [common | Find all Jobtrackers in the cluster] **************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
<m7b> REMOTE_MODULE command maprcli node list -columns svc | grep jobtracker | awk {'print $2'} #USE_SHELL
<m7b> EXEC ['sshpass', '-d7', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1402074549.01-30494651163849 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1402074549.01-30494651163849 && echo $HOME/.ansible/tmp/ansible-tmp-1402074549.01-30494651163849'"]
<m7b> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmpwxJgcY TO /home/vagrant/.ansible/tmp/ansible-tmp-1402074549.01-30494651163849/command
<m7b> EXEC ['sshpass', '-d7', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=crsbfbimjszpkzaijlbkjqjtjdcnaupe] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-crsbfbimjszpkzaijlbkjqjtjdcnaupe; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1402074549.01-30494651163849/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1402074549.01-30494651163849/ >/dev/null 2>&1\'"\'"\'\'']
changed: [m7b] => {"changed": true, "cmd": "maprcli node list -columns svc | grep jobtracker | awk {'print $2'} ", "delta": "0:00:02.305645", "end": "2014-06-06 17:08:40.597487", "item": "", "rc": 0, "start": "2014-06-06 17:08:38.291842", "stderr": "", "stdout": "m7b"}
TASK: [common | debug var=jobtrackers] ****************************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
ok: [m7b] => {
"item": "",
"jobtrackers": {
"changed": true,
"cmd": "maprcli node list -columns svc | grep jobtracker | awk {'print $2'} ",
"delta": "0:00:02.305645",
"end": "2014-06-06 17:08:40.597487",
"invocation": {
"module_args": "maprcli node list -columns svc | grep jobtracker | awk {'print $2'}",
"module_name": "shell"
},
"item": "",
"rc": 0,
"start": "2014-06-06 17:08:38.291842",
"stderr": "",
"stdout": "m7b",
"stdout_lines": [
"m7b"
]
}
}
TASK: [common | Create an array of Jobtrackers to pass as vars] ***************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
<m7b> REMOTE_MODULE command echo m7b | sed ':a;N;$!ba;s/\n/ /g' #USE_SHELL
<m7b> EXEC ['sshpass', '-d10', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1402074551.49-220278584778941 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1402074551.49-220278584778941 && echo $HOME/.ansible/tmp/ansible-tmp-1402074551.49-220278584778941'"]
<m7b> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmp4MNU0U TO /home/vagrant/.ansible/tmp/ansible-tmp-1402074551.49-220278584778941/command
<m7b> EXEC ['sshpass', '-d10', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=duncmuiphqkfvcsfkxxvwmuwqfwveaiq] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-duncmuiphqkfvcsfkxxvwmuwqfwveaiq; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1402074551.49-220278584778941/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1402074551.49-220278584778941/ >/dev/null 2>&1\'"\'"\'\'']
changed: [m7b] => {"changed": true, "cmd": "echo m7b | sed ':a;N;$!ba;s/\\n/ /g' ", "delta": "0:00:00.006192", "end": "2014-06-06 17:08:40.779964", "item": "", "rc": 0, "start": "2014-06-06 17:08:40.773772", "stderr": "", "stdout": "m7b"}
TASK: [common | debug var=jobtracker_array] ***********************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
ok: [m7b] => {
"item": "",
"jobtracker_array": {
"changed": true,
"cmd": "echo m7b | sed ':a;N;$!ba;s/\\n/ /g' ",
"delta": "0:00:00.006192",
"end": "2014-06-06 17:08:40.779964",
"invocation": {
"module_args": "echo m7b | sed ':a;N;$!ba;s/\\n/ /g'",
"module_name": "shell"
},
"item": "",
"rc": 0,
"start": "2014-06-06 17:08:40.773772",
"stderr": "",
"stdout": "m7b",
"stdout_lines": [
"m7b"
]
}
}
TASK: [common | Create Jobtracker host group] *********************************
creating host via 'add_host': hostname=m7b
added host to group via add_host module: jobtracker_nodes
ok: [m7b] => (item=m7b) => {"item": "m7b", "new_groups": ["jobtracker_nodes"], "new_host": "m7b"}
TASK: [Bringing up all services] **********************************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
<m7b> REMOTE_MODULE command echo " " #USE_SHELL
<m7b> EXEC ['sshpass', '-d4', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1402074551.67-69920657136133 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1402074551.67-69920657136133 && echo $HOME/.ansible/tmp/ansible-tmp-1402074551.67-69920657136133'"]
<m7b> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmp2v9U5H TO /home/vagrant/.ansible/tmp/ansible-tmp-1402074551.67-69920657136133/command
<m7b> EXEC ['sshpass', '-d4', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=izzmttyctdzknonpvzbxzgbptnarxhfy] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-izzmttyctdzknonpvzbxzgbptnarxhfy; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1402074551.67-69920657136133/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1402074551.67-69920657136133/ >/dev/null 2>&1\'"\'"\'\'']
changed: [m7b] => {"changed": true, "cmd": "echo \" \" ", "delta": "0:00:00.003305", "end": "2014-06-06 17:08:40.957892", "item": "", "rc": 0, "start": "2014-06-06 17:08:40.954587", "stderr": "", "stdout": " "}
NOTIFIED: [common | Restart Jobtracker] ***************************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
<m7b> REMOTE_MODULE command maprcli node services -jobtracker restart -nodes m7b #USE_SHELL
<m7b> EXEC ['sshpass', '-d7', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1402074551.84-92336562550808 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1402074551.84-92336562550808 && echo $HOME/.ansible/tmp/ansible-tmp-1402074551.84-92336562550808'"]
<m7b> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmp79DuJo TO /home/vagrant/.ansible/tmp/ansible-tmp-1402074551.84-92336562550808/command
<m7b> EXEC ['sshpass', '-d7', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=mbtesdjyhciipkjeqsxbihsojblitrby] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-mbtesdjyhciipkjeqsxbihsojblitrby; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1402074551.84-92336562550808/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1402074551.84-92336562550808/ >/dev/null 2>&1\'"\'"\'\'']
changed: [m7b] => {"changed": true, "cmd": "maprcli node services -jobtracker restart -nodes m7b ", "delta": "0:00:02.202864", "end": "2014-06-06 17:08:43.328798", "item": "", "rc": 0, "start": "2014-06-06 17:08:41.125934", "stderr": "", "stdout": ""}
NOTIFIED: [common | Start Oozie] **********************************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
<m7b> REMOTE_MODULE command maprcli node services -name oozie -action start -nodes m7b #USE_SHELL
<m7b> EXEC ['sshpass', '-d9', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1402074554.22-115274274889736 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1402074554.22-115274274889736 && echo $HOME/.ansible/tmp/ansible-tmp-1402074554.22-115274274889736'"]
<m7b> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmpN16zNw TO /home/vagrant/.ansible/tmp/ansible-tmp-1402074554.22-115274274889736/command
<m7b> EXEC ['sshpass', '-d9', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=hselexkrqkbnfzifbnjttsnknspwjhpm] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-hselexkrqkbnfzifbnjttsnknspwjhpm; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1402074554.22-115274274889736/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1402074554.22-115274274889736/ >/dev/null 2>&1\'"\'"\'\'']
changed: [m7b] => {"changed": true, "cmd": "maprcli node services -name oozie -action start -nodes m7b ", "delta": "0:00:02.796252", "end": "2014-06-06 17:08:46.329576", "item": "", "rc": 0, "start": "2014-06-06 17:08:43.533324", "stderr": "", "stdout": ""}
NOTIFIED: [common | Start Hue] ************************************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
<m7b> REMOTE_MODULE command maprcli node services -name hue -action start -nodes m7b #USE_SHELL
<m7b> EXEC ['sshpass', '-d10', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1402074557.22-30224247395045 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1402074557.22-30224247395045 && echo $HOME/.ansible/tmp/ansible-tmp-1402074557.22-30224247395045'"]
<m7b> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmpOJbzeD TO /home/vagrant/.ansible/tmp/ansible-tmp-1402074557.22-30224247395045/command
<m7b> EXEC ['sshpass', '-d10', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=sshswjksghnksqsdegeeldiejgmpjadt] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-sshswjksghnksqsdegeeldiejgmpjadt; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1402074557.22-30224247395045/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1402074557.22-30224247395045/ >/dev/null 2>&1\'"\'"\'\'']
changed: [m7b] => {"changed": true, "cmd": "maprcli node services -name hue -action start -nodes m7b ", "delta": "0:00:02.641180", "end": "2014-06-06 17:08:49.136998", "item": "", "rc": 0, "start": "2014-06-06 17:08:46.495818", "stderr": "", "stdout": ""}
NOTIFIED: [common | Start Beeswax] ********************************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
<m7b> REMOTE_MODULE command maprcli node services -name beeswax -action start -nodes m7b #USE_SHELL
<m7b> EXEC ['sshpass', '-d12', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1402074560.03-173219222995661 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1402074560.03-173219222995661 && echo $HOME/.ansible/tmp/ansible-tmp-1402074560.03-173219222995661'"]
<m7b> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmp4Uhwme TO /home/vagrant/.ansible/tmp/ansible-tmp-1402074560.03-173219222995661/command
<m7b> EXEC ['sshpass', '-d12', 'ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', 'm7b', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=olunjrkcchahqizqtbrflavmifhfbtel] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-olunjrkcchahqizqtbrflavmifhfbtel; /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1402074560.03-173219222995661/command; rm -rf /home/vagrant/.ansible/tmp/ansible-tmp-1402074560.03-173219222995661/ >/dev/null 2>&1\'"\'"\'\'']
changed: [m7b] => {"changed": true, "cmd": "maprcli node services -name beeswax -action start -nodes m7b ", "delta": "0:00:02.509573", "end": "2014-06-06 17:08:51.817599", "item": "", "rc": 0, "start": "2014-06-06 17:08:49.308026", "stderr": "", "stdout": ""}
NOTIFIED: [common | Pause after Jobtracker] ***********************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
created 'pause' ActionModule: pause_type=seconds, duration_unit=seconds, calculated_seconds=10, prompt=None
(^C-c = continue early, ^C-a = abort)
[m7b]
Pausing for 10 seconds
ok: [m7b] => {"changed": false, "delta": 10, "item": "", "rc": 0, "start": "2014-06-06 18:09:22.714829", "stderr": "", "stdout": "Paused for 10.01 seconds", "stop": "2014-06-06 18:09:32.720844"}
NOTIFIED: [common | Pause before Beeswax] *************************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
created 'pause' ActionModule: pause_type=seconds, duration_unit=seconds, calculated_seconds=10, prompt=None
(^C-c = continue early, ^C-a = abort)
[m7b]
Pausing for 10 seconds
ok: [m7b] => {"changed": false, "delta": 10, "item": "", "rc": 0, "start": "2014-06-06 18:09:32.728277", "stderr": "", "stdout": "Paused for 10.01 seconds", "stop": "2014-06-06 18:09:42.734326"}
NOTIFIED: [common | Pause before Hue] *****************************************
<m7b> ESTABLISH CONNECTION FOR USER: vagrant
created 'pause' ActionModule: pause_type=seconds, duration_unit=seconds, calculated_seconds=10, prompt=None
(^C-c = continue early, ^C-a = abort)
[m7b]
Pausing for 10 seconds
ok: [m7b] => {"changed": false, "delta": 10, "item": "", "rc": 0, "start": "2014-06-06 18:09:42.741975", "stderr": "", "stdout": "Paused for 10.01 seconds", "stop": "2014-06-06 18:09:52.747106"}
PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/Richard/hue.retry
127.0.0.1 : ok=0 changed=0 unreachable=0 failed=1
m7b : ok=59 changed=27 unreachable=0 failed=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment