Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Created August 7, 2013 20:32
Show Gist options
  • Save singingwolfboy/6178343 to your computer and use it in GitHub Desktop.
Save singingwolfboy/6178343 to your computer and use it in GitHub Desktop.
TASK: [Create ruby base] ******************************************************
changed: [192.168.33.10] => {"changed": true, "gid": 1005, "group": "www", "item": "", "mode": "0755", "owner": "www", "path": "/opt/www", "size": 4096, "state": "directory", "uid": 1002}
TASK: [rbenv | install build depends] *****************************************
ok: [192.168.33.10] => (item=build-essential,git,libcurl4-openssl-dev,libmysqlclient-dev,libreadline-dev,libssl-dev,libxml2-dev,libxslt1-dev,zlib1g-dev) => {"changed": false, "item": "build-essential,git,libcurl4-openssl-dev,libmysqlclient-dev,libreadline-dev,libssl-dev,libxml2-dev,libxslt1-dev,zlib1g-dev"}
TASK: [rbenv | update rbenv repo] *********************************************
changed: [192.168.33.10] => {"after": "9375e99", "before": null, "changed": true, "item": ""}
TASK: [rbenv | add rbenv to path] *********************************************
changed: [192.168.33.10] => {"changed": true, "dest": "/usr/local/bin/rbenv", "gid": 0, "group": "root", "item": "", "mode": "0777", "owner": "root", "size": 25, "src": "/opt/www/.rbenv/bin/rbenv", "state": "link", "uid": 0}
TASK: [rbenv | add rbenv initialization to profile] ***************************
changed: [192.168.33.10] => {"changed": true, "dest": "/etc/profile.d/rbenv.sh", "gid": 0, "group": "root", "item": "", "md5sum": "260816cd8a1a7b69739a69efecad3668", "mode": "0755", "owner": "root", "size": 129, "src": "/home/vagrant/.ansible/tmp/ansible-1375906056.38-195832802480795/source", "state": "file", "uid": 0}
TASK: [rbenv | check ruby-build installed] ************************************
failed: [192.168.33.10] => {"changed": true, "cmd": ["test", "-x", "/usr/local/bin/ruby-build"], "delta": "0:00:00.003691", "end": "2013-08-07 20:07:36.749265", "item": "", "rc": 1, "start": "2013-08-07 20:07:36.745574"}
...ignoring
TASK: [rbenv | create temporary directory] ************************************
changed: [192.168.33.10] => {"changed": true, "cmd": ["mktemp", "-d"], "delta": "0:00:00.002254", "end": "2013-08-07 20:07:36.933116", "item": "", "rc": 0, "start": "2013-08-07 20:07:36.930862", "stderr": "", "stdout": "/tmp/tmp.0sZIVROjrC"}
TASK: [rbenv | clone ruby-build repo] *****************************************
changed: [192.168.33.10] => {"after": "e19a124", "before": null, "changed": true, "item": ""}
TASK: [rbenv | install ruby-build] ********************************************
changed: [192.168.33.10] => {"changed": true, "cmd": ["./install.sh"], "delta": "0:00:00.130667", "end": "2013-08-07 20:07:38.084396", "item": "", "rc": 0, "start": "2013-08-07 20:07:37.953729", "stderr": "", "stdout": "Installed ruby-build at /usr/local"}
TASK: [rbenv | remove temporary directory] ************************************
changed: [192.168.33.10] => {"changed": true, "item": "", "path": "/tmp/tmp.0sZIVROjrC", "state": "absent"}
TASK: [rbenv | check ruby 1.9.3-p374 installed] *******************************
failed: [192.168.33.10] => {"changed": true, "cmd": "RBENV_ROOT=/opt/www/.rbenv rbenv versions | grep 1.9.3-p374 ", "delta": "0:00:00.066564", "end": "2013-08-07 20:07:38.535609", "item": "", "rc": 1, "start": "2013-08-07 20:07:38.469045"}
...ignoring
TASK: [rbenv | install ruby 1.9.3-p374] ***************************************
changed: [192.168.33.10] => {"changed": true, "cmd": "RBENV_ROOT=/opt/www/.rbenv rbenv install 1.9.3-p374 ", "delta": "0:04:18.763881", "end": "2013-08-07 20:11:57.494472", "item": "", "rc": 0, "start": "2013-08-07 20:07:38.730591", "stderr": "Downloading yaml-0.1.4.tar.gz...\n-> http://dqw8nmjcqpjn7.cloudfront.net/36c852831d02cf90508c29852361d01b\nInstalling yaml-0.1.4...\nInstalled yaml-0.1.4 to /opt/www/.rbenv/versions/1.9.3-p374\n\nDownloading ruby-1.9.3-p374.tar.gz...\n-> http://dqw8nmjcqpjn7.cloudfront.net/90b6c327abcdf30a954c2d6ae44da2a9\nInstalling ruby-1.9.3-p374...\nInstalled ruby-1.9.3-p374 to /opt/www/.rbenv/versions/1.9.3-p374", "stdout": ""}
TASK: [rbenv | set global ruby 1.9.3-p374] ************************************
changed: [192.168.33.10] => {"changed": true, "cmd": "RBENV_ROOT=/opt/www/.rbenv rbenv global 1.9.3-p374 ", "delta": "0:00:00.036201", "end": "2013-08-07 20:11:57.783998", "item": "", "rc": 0, "start": "2013-08-07 20:11:57.747797", "stderr": "", "stdout": ""}
TASK: [rbenv | rehash] ********************************************************
changed: [192.168.33.10] => {"changed": true, "cmd": "RBENV_ROOT=/opt/www/.rbenv rbenv rehash ", "delta": "0:00:00.041770", "end": "2013-08-07 20:11:58.030153", "item": "", "rc": 0, "start": "2013-08-07 20:11:57.988383", "stderr": "", "stdout": ""}
TASK: [stop edxapp services] **************************************************
ok: [192.168.33.10] => {"changed": false, "item": "", "name": "edxapp", "state": "stopped"}
TASK: [stop edx workers] ******************************************************
skipping: [192.168.33.10]
TASK: [git checkout edx-platform repo into /opt/wwc] **************************
changed: [192.168.33.10] => {"after": "7237f80", "before": null, "changed": true, "item": ""}
TASK: [create platform code dir] **********************************************
changed: [192.168.33.10] => {"changed": true, "gid": 33, "group": "www-data", "item": "", "mode": "0755", "owner": "www-data", "path": "/opt/wwc/edx-platform", "size": 4096, "state": "directory", "uid": 33}
TASK: [checkout theme] ********************************************************
skipping: [192.168.33.10]
TASK: [sets permissions on platform code dir and contents] ********************
changed: [192.168.33.10] => {"changed": true, "gid": 33, "group": "www-data", "item": "", "mode": "0755", "owner": "www-data", "path": "/opt/wwc/edx-platform", "size": 4096, "state": "directory", "uid": 33}
TASK: [gem | gem install bundler] *********************************************
changed: [192.168.33.10] => {"changed": true, "cmd": "RBENV_ROOT=/opt/www/.rbenv GEM_HOME=/opt/www/.gem /opt/www/.rbenv/shims/gem install bundle ", "delta": "0:00:08.276172", "end": "2013-08-07 20:14:15.770362", "item": "", "rc": 0, "start": "2013-08-07 20:14:07.494190", "stderr": "file 'lib' not found\nfile 'lib' not found", "stdout": "Successfully installed bundler-1.3.5\nSuccessfully installed bundle-0.0.1\n2 gems installed\nInstalling ri documentation for bundler-1.3.5...\nInstalling ri documentation for bundle-0.0.1...\nInstalling RDoc documentation for bundler-1.3.5...\nInstalling RDoc documentation for bundle-0.0.1..."}
TASK: [bundle | bundle install] ***********************************************
changed: [192.168.33.10] => {"changed": true, "cmd": "RBENV_ROOT=/opt/www/.rbenv GEM_HOME=/opt/www/.gem /opt/www/.gem/bin/bundle install --binstubs ", "delta": "0:00:07.732847", "end": "2013-08-07 20:14:23.697245", "item": "", "rc": 0, "start": "2013-08-07 20:14:15.964398", "stderr": "", "stdout": "Fetching gem metadata from https://rubygems.org/.........\nFetching gem metadata from https://rubygems.org/..\nResolving dependencies...\nInstalling rake (10.0.4) \nInstalling addressable (2.3.5) \nInstalling sass (3.2.9) \nInstalling thor (0.18.1) \nInstalling bourbon (3.1.8) \nInstalling colorize (0.5.8) \nInstalling launchy (2.1.2) \nInstalling neat (1.3.0) \nInstalling sys-proctable (0.9.3) \nUsing bundler (1.3.5) \nYour bundle is complete!\nUse `bundle show [gemname]` to see where a bundled gem is installed."}
TASK: [Install edx-platform npm dependencies] *********************************
failed: [192.168.33.10] => {"changed": true, "cmd": "npm install ", "delta": "0:00:01.137478", "end": "2013-08-07 20:14:25.018246", "item": "", "rc": 1, "start": "2013-08-07 20:14:23.880768"}
stderr: npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/phantom-jasmine/0.1.0
npm http GET https://registry.npmjs.org/jasmine-reporters/0.2.1
npm http 404 https://registry.npmjs.org/coffee-script
npm ERR! registry error parsing json
npm ERR! Error: failed to fetch from registry: coffee-script
npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:153:14)
npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR! at Request.<anonymous> (/usr/lib/nodejs/request/main.js:525:16)
npm ERR! at Request.emit (events.js:67:17)
npm ERR! at IncomingMessage.<anonymous> (/usr/lib/nodejs/request/main.js:484:14)
npm ERR! at IncomingMessage.emit (events.js:88:20)
npm ERR! at HTTPParser.onMessageComplete (http.js:137:23)
npm ERR! at CleartextStream.ondata (http.js:1150:24)
npm ERR! You may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /opt/wwc/edx-platform/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.2.0-23-generic
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /opt/wwc/edx-platform
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: coffee-script
npm http 404 https://registry.npmjs.org/jasmine-reporters/0.2.1
npm ERR! registry error parsing json
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/wwc/edx-platform/npm-debug.log
npm not ok
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/var/tmp/ansible/vagrant-shortstack.retry
192.168.33.10 : ok=117 changed=103 unreachable=0 failed=1
db ~/clones/configuration/vagrant/shortstack (git)-[master]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment