Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cheza-laptop@cheza-laptop-work:~/Documents/ALMA/GIT-repo/docker/ansible$ ansible-playbook -i production/hosts play.yml --tags="build" -vvv
- Using /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/ansible.cfg as config file
- statically included: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/common.yml
- statically included: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/common.yml
- statically included: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/common.yml
- statically included: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/common.yml
- statically included: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/common.yml
- PLAYBOOK: play.yml *************************************************************
- 2 plays in play.yml
- PLAY [Deploy Offline Environment] **********************************************
- TASK [build : create directories] **********************************************
- task path: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/common.yml:1
- TASK [build : copy templates] **************************************************
- task path: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/common.yml:6
- TASK [build : copy httpd index] ************************************************
- task path: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/common.yml:11
- TASK [build : upload changes to svn] *******************************************
- task path: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/common.yml:15
- TASK [build : upload httpd changes to svn] *************************************
- task path: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/common.yml:20
- TASK [build : Download docker files from SVN] **********************************
- task path: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/common.yml:24
- TASK [build : Build applications images] ***************************************
- task path: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/roles/build/tasks/main.yml:3
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <libussa.sco.alma.cl> ESTABLISH SSH CONNECTION FOR USER: root
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r libussa.sco.alma.cl '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1510777982.4-29098434322429 `" && echo ansible-tmp-1510777982.4-29098434322429="` echo $HOME/.ansible/tmp/ansible-tmp-1510777982.4-29098434322429 `" ) && sleep 0'"'"''
- <libussa.sco.alma.cl> PUT /tmp/tmpbofDvN TO /root/.ansible/tmp/ansible-tmp-1510777982.4-29098434322429/command.py
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r '[libussa.sco.alma.cl]'
- <libussa.sco.alma.cl> ESTABLISH SSH CONNECTION FOR USER: root
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r libussa.sco.alma.cl '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1510777982.4-29098434322429/ /root/.ansible/tmp/ansible-tmp-1510777982.4-29098434322429/command.py && sleep 0'"'"''
- <libussa.sco.alma.cl> ESTABLISH SSH CONNECTION FOR USER: root
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r -tt libussa.sco.alma.cl '/bin/sh -c '"'"'APP_REPO=ssh://git@bitbucket.sco.alma.cl:7999/alma/almasw.git CONFIG_REPO=ssh://git@bitbucket.sco.alma.cl:7999/alma/docker.git MAVEN_SERVER=maven.asa-test.alma.cl CRELEASE=2017SEP-SCCB-777 APP_BRANCH=release/OFFLINE-2017SEP-B VERSION=20171115 CONFIG_BRANCH=master BRANCH=release/OFFLINE-2017SEP-B RELEASE=2017sep-SCCB-777 MAVEN_PASS=docker MAVEN_USER=docker STAGE=production /usr/bin/python /root/.ansible/tmp/ansible-tmp-1510777982.4-29098434322429/command.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1510777982.4-29098434322429/" > /dev/null 2>&1 && sleep 0'"'"''
- failed: [libussa.sco.alma.cl] (item=({u'name': u'webaqua'}, {u'name': u'webaqua'})) => {
- "failed": true,
- "invocation": {
- "module_name": "command"
- },
- "item": [
- {
- "name": "webaqua"
- },
- {
- "name": "webaqua"
- }
- ],
- "module_stderr": "Shared connection to libussa.sco.alma.cl closed.\r\n",
- "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_4QJVht/ansible_module_command.py\", line 212, in <module>\r\n main()\r\n File \"/tmp/ansible_4QJVht/ansible_module_command.py\", line 155, in main\r\n os.chdir(chdir)\r\nOSError: [Errno 2] No such file or directory: '/root/releases/production-2017sep-SCCB-777/build'\r\n",
- "msg": "MODULE FAILURE"
- }
- ...ignoring
- TASK [build : Tag applications] ************************************************
- task path: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/roles/build/tasks/main.yml:27
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <libussa.sco.alma.cl> ESTABLISH SSH CONNECTION FOR USER: root
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r libussa.sco.alma.cl '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1510777983.07-96540479713177 `" && echo ansible-tmp-1510777983.07-96540479713177="` echo $HOME/.ansible/tmp/ansible-tmp-1510777983.07-96540479713177 `" ) && sleep 0'"'"''
- <libussa.sco.alma.cl> PUT /tmp/tmpVVc2ka TO /root/.ansible/tmp/ansible-tmp-1510777983.07-96540479713177/command.py
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r '[libussa.sco.alma.cl]'
- <libussa.sco.alma.cl> ESTABLISH SSH CONNECTION FOR USER: root
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r libussa.sco.alma.cl '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1510777983.07-96540479713177/ /root/.ansible/tmp/ansible-tmp-1510777983.07-96540479713177/command.py && sleep 0'"'"''
- <libussa.sco.alma.cl> ESTABLISH SSH CONNECTION FOR USER: root
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r -tt libussa.sco.alma.cl '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1510777983.07-96540479713177/command.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1510777983.07-96540479713177/" > /dev/null 2>&1 && sleep 0'"'"''
- failed: [libussa.sco.alma.cl] (item=({u'name': u'webaqua'}, {u'name': u'webaqua'})) => {
- "changed": true,
- "cmd": [
- "docker",
- "tag",
- "webaqua:20171115.2017sep-SCCB-777",
- "registry.asa.alma.cl/webaqua:20171115.2017sep-SCCB-777"
- ],
- "delta": "0:00:00.066967",
- "end": "2017-11-15 20:33:03.388323",
- "failed": true,
- "invocation": {
- "module_args": {
- "_raw_params": "docker tag webaqua:20171115.2017sep-SCCB-777 registry.asa.alma.cl/webaqua:20171115.2017sep-SCCB-777",
- "_uses_shell": false,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": [
- {
- "name": "webaqua"
- },
- {
- "name": "webaqua"
- }
- ],
- "rc": 1,
- "start": "2017-11-15 20:33:03.321356",
- "stderr": "Error response from daemon: no such id: webaqua:20171115.2017sep-SCCB-777",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- ...ignoring
- TASK [build : Push applications into Private Registry] *************************
- task path: /home/cheza-laptop/Documents/ALMA/GIT-repo/docker/ansible/roles/build/tasks/main.yml:35
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/commands/command.py
- <libussa.sco.alma.cl> ESTABLISH SSH CONNECTION FOR USER: root
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r libussa.sco.alma.cl '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1510777983.62-235478499638997 `" && echo ansible-tmp-1510777983.62-235478499638997="` echo $HOME/.ansible/tmp/ansible-tmp-1510777983.62-235478499638997 `" ) && sleep 0'"'"''
- <libussa.sco.alma.cl> PUT /tmp/tmpDcxe07 TO /root/.ansible/tmp/ansible-tmp-1510777983.62-235478499638997/command.py
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 sftp -o BatchMode=no -b - -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r '[libussa.sco.alma.cl]'
- <libussa.sco.alma.cl> ESTABLISH SSH CONNECTION FOR USER: root
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r libussa.sco.alma.cl '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1510777983.62-235478499638997/ /root/.ansible/tmp/ansible-tmp-1510777983.62-235478499638997/command.py && sleep 0'"'"''
- <libussa.sco.alma.cl> ESTABLISH SSH CONNECTION FOR USER: root
- <libussa.sco.alma.cl> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/cheza-laptop/.ansible/cp/ansible-ssh-%h-%p-%r -tt libussa.sco.alma.cl '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1510777983.62-235478499638997/command.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1510777983.62-235478499638997/" > /dev/null 2>&1 && sleep 0'"'"''
- failed: [libussa.sco.alma.cl] (item=({u'name': u'webaqua'}, {u'name': u'webaqua'})) => {
- "changed": true,
- "cmd": [
- "docker",
- "push",
- "registry.asa.alma.cl/webaqua:20171115.2017sep-SCCB-777"
- ],
- "delta": "0:00:01.180372",
- "end": "2017-11-15 20:33:05.048443",
- "failed": true,
- "invocation": {
- "module_args": {
- "_raw_params": "docker push registry.asa.alma.cl/webaqua:20171115.2017sep-SCCB-777",
- "_uses_shell": false,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "warn": true
- },
- "module_name": "command"
- },
- "item": [
- {
- "name": "webaqua"
- },
- {
- "name": "webaqua"
- }
- ],
- "rc": 1,
- "start": "2017-11-15 20:33:03.868071",
- "stderr": "Error response from daemon: plugin rhel-push-plugin failed with error: AuthZPlugin.AuthZReq: Error: No such image: registry.asa.alma.cl/webaqua:20171115.2017sep-SCCB-777",
- "stdout": "",
- "stdout_lines": [],
- "warnings": []
- }
- ...ignoring
- PLAY RECAP *********************************************************************
- libussa.sco.alma.cl : ok=3 changed=0 unreachable=0 failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement