Skip to content

Instantly share code, notes, and snippets.

@celikmustafa89
Last active April 27, 2016 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save celikmustafa89/4db74b49fc78f28321539b40e21f6593 to your computer and use it in GitHub Desktop.
Save celikmustafa89/4db74b49fc78f28321539b40e21f6593 to your computer and use it in GitHub Desktop.
TASK: [rsyslog_client | Find all log files] ***********************************
<172.29.238.215> ESTABLISH CONNECTION FOR USER: root
<172.29.239.218> ESTABLISH CONNECTION FOR USER: root
<172.29.239.218> REMOTE_MODULE command find -L '/var/log/repo' -type f -name '.log' #USE_SHELL
<172.29.238.215> REMOTE_MODULE command find -L '/var/log/repo' -type f -name '.log' #USE_SHELL
<172.29.237.248> ESTABLISH CONNECTION FOR USER: root
<172.29.239.218> EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 172.29.239.218 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
<172.29.238.215> EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 172.29.238.215 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
<172.29.237.248> REMOTE_MODULE command find -L '/var/log/repo' -type f -name '.log' #USE_SHELL
<172.29.237.248> EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 172.29.237.248 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
failed: [ansible02_repo_container-3359cde2] => {"changed": true, "cmd": "find -L '/var/log/repo' -type f -name '.log'", "delta": "0:00:00.005568", "end": "2016-04-27 10:44:55.395151", "rc": 1, "start": "2016-04-27 10:44:55.389583", "warnings": []}
stderr: find: `/var/log/repo': No such file or directory
changed: [ansible03_repo_container-4b239cfd] => {"changed": true, "cmd": "find -L '/var/log/repo' -type f -name '.log'", "delta": "0:00:00.003720", "end": "2016-04-27 10:44:55.393649", "rc": 0, "start": "2016-04-27 10:44:55.389929", "stderr": "", "stdout": "", "warnings": []}
changed: [ansible01_repo_container-875f241d] => {"changed": true, "cmd": "find -L '/var/log/repo' -type f -name '.log'", "delta": "0:00:00.005671", "end": "2016-04-27 10:45:21.359490", "rc": 0, "start": "2016-04-27 10:45:21.353819", "stderr": "", "stdout": "", "warnings": []}
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/setup-infrastructure.retry
ansible01_haproxy : ok=46 changed=3 unreachable=0 failed=0
ansible01_memcached_container-580b3e12 : ok=7 changed=1 unreachable=0 failed=0
ansible01_repo_container-875f241d : ok=42 changed=7 unreachable=0 failed=0
ansible02_memcached_container-d4e07cbc : ok=7 changed=1 unreachable=0 failed=0
ansible02_repo_container-3359cde2 : ok=41 changed=6 unreachable=0 failed=1
ansible03_memcached_container-39af557d : ok=7 changed=1 unreachable=0 failed=0
ansible03_repo_container-4b239cfd : ok=42 changed=7 unreachable=0 failed=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment