Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [mastodon : Build Mastodon] ***************************************************************************************************************************************************************************************************
- task path: /home/cwm/ansibleQwerty/ansible/roles/mastodon/tasks/main.yml:57
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/commands/command.py
- <qwerty.city> ESTABLISH SSH CONNECTION FOR USER: None
- <qwerty.city> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ConnectTimeout=10 -o ControlPath=/home/cwm/.ansible/cp/e40de1eaa5 qwerty.city '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
- <qwerty.city> (0, '/home/cwm\n', '')
- <qwerty.city> ESTABLISH SSH CONNECTION FOR USER: None
- <qwerty.city> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ConnectTimeout=10 -o ControlPath=/home/cwm/.ansible/cp/e40de1eaa5 qwerty.city '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/cwm/.ansible/tmp/ansible-tmp-1493843477.5-112225322138999 `" && echo ansible-tmp-1493843477.5-112225322138999="` echo /home/cwm/.ansible/tmp/ansible-tmp-1493843477.5-112225322138999 `" ) && sleep 0'"'"''
- <qwerty.city> (0, 'ansible-tmp-1493843477.5-112225322138999=/home/cwm/.ansible/tmp/ansible-tmp-1493843477.5-112225322138999\n', '')
- <qwerty.city> PUT /tmp/tmpv0g9gr TO /home/cwm/.ansible/tmp/ansible-tmp-1493843477.5-112225322138999/command.py
- <qwerty.city> SSH: EXEC sshpass -d12 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o ConnectTimeout=10 -o ControlPath=/home/cwm/.ansible/cp/e40de1eaa5 '[qwerty.city]'
- <qwerty.city> (0, 'sftp> put /tmp/tmpv0g9gr /home/cwm/.ansible/tmp/ansible-tmp-1493843477.5-112225322138999/command.py\n', '')
- <qwerty.city> ESTABLISH SSH CONNECTION FOR USER: None
- <qwerty.city> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ConnectTimeout=10 -o ControlPath=/home/cwm/.ansible/cp/e40de1eaa5 qwerty.city '/bin/sh -c '"'"'chmod u+x /home/cwm/.ansible/tmp/ansible-tmp-1493843477.5-112225322138999/ /home/cwm/.ansible/tmp/ansible-tmp-1493843477.5-112225322138999/command.py && sleep 0'"'"''
- <qwerty.city> (0, '', '')
- <qwerty.city> ESTABLISH SSH CONNECTION FOR USER: None
- <qwerty.city> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o ConnectTimeout=10 -o ControlPath=/home/cwm/.ansible/cp/e40de1eaa5 -tt qwerty.city '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=cxycxpuizdctcppuwpcsmlehgjginrsw] password: " -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-cxycxpuizdctcppuwpcsmlehgjginrsw; /usr/bin/python /home/cwm/.ansible/tmp/ansible-tmp-1493843477.5-112225322138999/command.py; rm -rf "/home/cwm/.ansible/tmp/ansible-tmp-1493843477.5-112225322138999/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
- <qwerty.city> (0, '\r\n\r\n\r\n{"changed": true, "end": "2017-05-03 20:31:27.586299", "stdout": "Step 1 : FROM ruby:2.4.1-alpine\\n ---> afc63d893879\\nStep 2 : LABEL maintainer \\"https://github.com/tootsuite/mastodon\\" description \\"A GNU Social-compatible microblogging server\\"\\n ---> Using cache\\n ---> 6aa44ca87613\\nStep 3 : ENV RAILS_ENV production NODE_ENV production\\n ---> Using cache\\n ---> 074cd64e45d7\\nStep 4 : EXPOSE 3000 4000\\n ---> Using cache\\n ---> 1401d4d57a0c\\nStep 5 : WORKDIR /mastodon\\n ---> Using cache\\n ---> bd9ef81db977\\nStep 6 : COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/\\n ---> Using cache\\n ---> 39296bfcf65c\\nStep 7 : RUN echo \\"@edge https://nl.alpinelinux.org/alpine/edge/main\\" >> /etc/apk/repositories && BUILD_DEPS=\\" postgresql-dev libxml2-dev libxslt-dev python build-base\\" && apk -U upgrade && apk add $BUILD_DEPS nodejs@edge nodejs-npm@edge libpq libxml2 libxslt ffmpeg file imagemagick@edge ca-certificates && npm install -g npm@3 && npm install -g yarn && bundle install --deployment --without test development && yarn --ignore-optional && yarn cache clean && npm -g cache clean && update-ca-certificates && apk del $BUILD_DEPS && rm -rf /tmp/* /var/cache/apk/*", "cmd": "docker-compose build", "rc": 1, "start": "2017-05-03 20:31:18.179284", "stderr": "redis uses an image, skipping\\ndb uses an image, skipping\\nBuilding streaming\\nService \'streaming\' failed to build: lstat /var/lib/docker/overlay/8260aac1514fe34b043f9d4b4ae24e2b478ccc36cd9567ca945d8a7907665a8d: no such file or directory", "delta": "0:00:09.407015", "invocation": {"module_args": {"warn": true, "executable": null, "chdir": "/var/lib/mastodon", "_raw_params": "docker-compose build", "removes": null, "creates": null, "_uses_shell": true}}, "warnings": []}\r\n', 'Shared connection to qwerty.city closed.\r\n')
- fatal: [mastodon]: FAILED! => {
- "changed": true,
- "cmd": "docker-compose build",
- "delta": "0:00:09.407015",
- "end": "2017-05-03 20:31:27.586299",
- "failed": true,
- "invocation": {
- "module_args": {
- "_raw_params": "docker-compose build",
- "_uses_shell": true,
- "chdir": "/var/lib/mastodon",
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- }
- },
- "rc": 1,
- "start": "2017-05-03 20:31:18.179284",
- "stderr": "redis uses an image, skipping\ndb uses an image, skipping\nBuilding streaming\nService 'streaming' failed to build: lstat /var/lib/docker/overlay/8260aac1514fe34b043f9d4b4ae24e2b478ccc36cd9567ca945d8a7907665a8d: no such file or directory",
- "stderr_lines": [
- "redis uses an image, skipping",
- "db uses an image, skipping",
- "Building streaming",
- "Service 'streaming' failed to build: lstat /var/lib/docker/overlay/8260aac1514fe34b043f9d4b4ae24e2b478ccc36cd9567ca945d8a7907665a8d: no such file or directory"
- ],
- "stdout": "Step 1 : FROM ruby:2.4.1-alpine\n ---> afc63d893879\nStep 2 : LABEL maintainer \"https://github.com/tootsuite/mastodon\" description \"A GNU Social-compatible microblogging server\"\n ---> Using cache\n ---> 6aa44ca87613\nStep 3 : ENV RAILS_ENV production NODE_ENV production\n ---> Using cache\n ---> 074cd64e45d7\nStep 4 : EXPOSE 3000 4000\n ---> Using cache\n ---> 1401d4d57a0c\nStep 5 : WORKDIR /mastodon\n ---> Using cache\n ---> bd9ef81db977\nStep 6 : COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/\n ---> Using cache\n ---> 39296bfcf65c\nStep 7 : RUN echo \"@edge https://nl.alpinelinux.org/alpine/edge/main\" >> /etc/apk/repositories && BUILD_DEPS=\" postgresql-dev libxml2-dev libxslt-dev python build-base\" && apk -U upgrade && apk add $BUILD_DEPS nodejs@edge nodejs-npm@edge libpq libxml2 libxslt ffmpeg file imagemagick@edge ca-certificates && npm install -g npm@3 && npm install -g yarn && bundle install --deployment --without test development && yarn --ignore-optional && yarn cache clean && npm -g cache clean && update-ca-certificates && apk del $BUILD_DEPS && rm -rf /tmp/* /var/cache/apk/*",
- "stdout_lines": [
- "Step 1 : FROM ruby:2.4.1-alpine",
- " ---> afc63d893879",
- "Step 2 : LABEL maintainer \"https://github.com/tootsuite/mastodon\" description \"A GNU Social-compatible microblogging server\"",
- " ---> Using cache",
- " ---> 6aa44ca87613",
- "Step 3 : ENV RAILS_ENV production NODE_ENV production",
- " ---> Using cache",
- " ---> 074cd64e45d7",
- "Step 4 : EXPOSE 3000 4000",
- " ---> Using cache",
- " ---> 1401d4d57a0c",
- "Step 5 : WORKDIR /mastodon",
- " ---> Using cache",
- " ---> bd9ef81db977",
- "Step 6 : COPY Gemfile Gemfile.lock package.json yarn.lock /mastodon/",
- " ---> Using cache",
- " ---> 39296bfcf65c",
- "Step 7 : RUN echo \"@edge https://nl.alpinelinux.org/alpine/edge/main\" >> /etc/apk/repositories && BUILD_DEPS=\" postgresql-dev libxml2-dev libxslt-dev python build-base\" && apk -U upgrade && apk add $BUILD_DEPS nodejs@edge nodejs-npm@edge libpq libxml2 libxslt ffmpeg file imagemagick@edge ca-certificates && npm install -g npm@3 && npm install -g yarn && bundle install --deployment --without test development && yarn --ignore-optional && yarn cache clean && npm -g cache clean && update-ca-certificates && apk del $BUILD_DEPS && rm -rf /tmp/* /var/cache/apk/*"
- ]
- }
- to retry, use: --limit @/home/cwm/ansibleQwerty/ansible/install_mastodon.retry
- PLAY RECAP *************************************************************************************************************************************************************************************************************************
- mastodon : ok=20 changed=0 unreachable=0 failed=1
- Makefile:5: recipe for target 'install' failed
- make: *** [install] Error 2
- cwm@cwm:~/ansibleQwerty/ansible$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement