Created
May 26, 2017 09:00
-
-
Save rgarrigue/22c12f4cfac0e6b3aea8fe1949c6cdb4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [me.docker-caddy : GeoLite2-Country database] *************************************************************************************************************************************************** | |
task path: /home/me/work/ansible-playbooks/roles/me.docker-caddy/tasks/main.yml:20 | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f 163.172.90.333 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' | |
<163.172.90.333> (0, '/root\n', '') | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f 163.172.90.333 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1495789120.65-35436752476897 `" && echo ansible-tmp-1495789120.65-35436752476897="` echo /root/.ansible/tmp/ansible-tmp-1495789120.65-35436752476897 `" ) && sleep 0'"'"'' | |
<163.172.90.333> (0, 'ansible-tmp-1495789120.65-35436752476897=/root/.ansible/tmp/ansible-tmp-1495789120.65-35436752476897\n', '') | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f -tt 163.172.90.333 '/bin/sh -c '"'"'test -e /srv/caddy/GeoLite2-Country.mmdb && sleep 0'"'"'' | |
<163.172.90.333> (1, '', 'Shared connection to 163.172.90.333 closed.\r\n') | |
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/files/stat.py | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f 163.172.90.333 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' | |
<163.172.90.333> (0, '/root\n', '') | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f 163.172.90.333 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1495789120.8-11092615210057 `" && echo ansible-tmp-1495789120.8-11092615210057="` echo /root/.ansible/tmp/ansible-tmp-1495789120.8-11092615210057 `" ) && sleep 0'"'"'' | |
<163.172.90.333> (0, 'ansible-tmp-1495789120.8-11092615210057=/root/.ansible/tmp/ansible-tmp-1495789120.8-11092615210057\n', '') | |
<163.172.90.333> PUT /tmp/tmpFAzAJu TO /root/.ansible/tmp/ansible-tmp-1495789120.8-11092615210057/stat.py | |
<163.172.90.333> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f '[163.172.90.333]' | |
<163.172.90.333> (0, 'sftp> put /tmp/tmpFAzAJu /root/.ansible/tmp/ansible-tmp-1495789120.8-11092615210057/stat.py\n', '') | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f 163.172.90.333 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1495789120.8-11092615210057/ /root/.ansible/tmp/ansible-tmp-1495789120.8-11092615210057/stat.py && sleep 0'"'"'' | |
<163.172.90.333> (0, '', '') | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f -tt 163.172.90.333 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1495789120.8-11092615210057/stat.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1495789120.8-11092615210057/" > /dev/null 2>&1 && sleep 0'"'"'' | |
<163.172.90.333> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "path": "/srv/caddy/", "checksum_algo": "sha1", "follow": true, "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "binary", "uid": 0, "exists": true, "attr_flags": "", "woth": false, "isreg": false, "device_type": 0, "mtime": 1495788177.3086767, "block_size": 4096, "inode": 15424260, "isgid": false, "size": 59, "executable": true, "isuid": false, "readable": true, "version": "336520514", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "inode/directory", "blocks": 0, "xoth": true, "islnk": false, "nlink": 2, "issock": false, "rgrp": true, "gr_name": "root", "path": "/srv/caddy/", "xusr": true, "atime": 1495788194.108481, "isdir": true, "ctime": 1495788177.3086767, "isblk": false, "wgrp": false, "xgrp": true, "dev": 2050, "roth": true, "isfifo": false, "mode": "0755", "rusr": true, "attributes": []}, "changed": false}\r\n', 'Shared connection to 163.172.90.333 closed.\r\n') | |
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/files/unarchive.py | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f 163.172.90.333 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' | |
<163.172.90.333> (0, '/root\n', '') | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f 163.172.90.333 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1495789121.62-276692338606610 `" && echo ansible-tmp-1495789121.62-276692338606610="` echo /root/.ansible/tmp/ansible-tmp-1495789121.62-276692338606610 `" ) && sleep 0'"'"'' | |
<163.172.90.333> (0, 'ansible-tmp-1495789121.62-276692338606610=/root/.ansible/tmp/ansible-tmp-1495789121.62-276692338606610\n', '') | |
<163.172.90.333> PUT /tmp/tmp1L93un TO /root/.ansible/tmp/ansible-tmp-1495789121.62-276692338606610/unarchive.py | |
<163.172.90.333> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f '[163.172.90.333]' | |
<163.172.90.333> (0, 'sftp> put /tmp/tmp1L93un /root/.ansible/tmp/ansible-tmp-1495789121.62-276692338606610/unarchive.py\n', '') | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f 163.172.90.333 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1495789121.62-276692338606610/ /root/.ansible/tmp/ansible-tmp-1495789121.62-276692338606610/unarchive.py && sleep 0'"'"'' | |
<163.172.90.333> (0, '', '') | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f -tt 163.172.90.333 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1495789121.62-276692338606610/unarchive.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1495789121.62-276692338606610/" > /dev/null 2>&1 && sleep 0'"'"'' | |
<163.172.90.333> (0, '\r\n{"msg": "Failed to find handler for \\"/tmp/ansible_ErMgxX/GeoLite2-Country.tar.gz\\". Make sure the required command to extract the file is installed. Command \\"/bin/tar\\" could not handle archive. Command \\"/usr/bin/unzip\\" could not handle archive.", "failed": true, "invocation": {"module_args": {"directory_mode": null, "force": null, "remote_src": true, "exclude": [], "owner": null, "follow": false, "group": null, "unsafe_writes": null, "keep_newer": false, "setype": null, "content": null, "serole": null, "extra_opts": ["GeoLite2-Country-*/GeoLite2-Country.mmdb"], "dest": "/srv/caddy/", "selevel": null, "original_basename": "GeoLite2-Country.tar.gz", "regexp": null, "copy": true, "src": "http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz", "validate_certs": true, "list_files": false, "seuser": null, "creates": "/srv/caddy/GeoLite2-Country.mmdb", "delimiter": null, "mode": null, "attributes": null, "backup": null}}}\r\n', 'Shared connection to 163.172.90.333 closed.\r\n') | |
<163.172.90.333> ESTABLISH SSH CONNECTION FOR USER: root | |
<163.172.90.333> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/home/me/.ansible/cp/ab8647d04f 163.172.90.333 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1495789120.65-35436752476897/ > /dev/null 2>&1 && sleep 0'"'"'' | |
<163.172.90.333> (0, '', '') | |
fatal: [dedibox]: FAILED! => { | |
"changed": false, | |
"failed": true, | |
"invocation": { | |
"module_args": { | |
"attributes": null, | |
"backup": null, | |
"content": null, | |
"copy": true, | |
"creates": "/srv/caddy/GeoLite2-Country.mmdb", | |
"delimiter": null, | |
"dest": "/srv/caddy/", | |
"directory_mode": null, | |
"exclude": [], | |
"extra_opts": [ | |
"GeoLite2-Country-*/GeoLite2-Country.mmdb" | |
], | |
"follow": false, | |
"force": null, | |
"group": null, | |
"keep_newer": false, | |
"list_files": false, | |
"mode": null, | |
"original_basename": "GeoLite2-Country.tar.gz", | |
"owner": null, | |
"regexp": null, | |
"remote_src": true, | |
"selevel": null, | |
"serole": null, | |
"setype": null, | |
"seuser": null, | |
"src": "http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz", | |
"unsafe_writes": null, | |
"validate_certs": true | |
} | |
}, | |
"msg": "Failed to find handler for \"/tmp/ansible_ErMgxX/GeoLite2-Country.tar.gz\". Make sure the required command to extract the file is installed. Command \"/bin/tar\" could not handle archive. Command \"/usr/bin/unzip\" could not handle archive." | |
} | |
to retry, use: --limit @/home/me/work/ansible-playbooks/dedibox.retry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment