Skip to content

Instantly share code, notes, and snippets.

@v1k0d3n
Last active May 19, 2017 11:21
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 v1k0d3n/ce3cb2a301f58a1acb21 to your computer and use it in GitHub Desktop.
Save v1k0d3n/ce3cb2a301f58a1acb21 to your computer and use it in GitHub Desktop.
Loaded callback default of type stdout, v2.0
1 plays in fed-prep.yml
PLAY ***************************************************************************
TASK [copy cockpit repo] *******************************************************
task path: /Users/bjozsa/WORKING/20160211-2108/jinkit-ansible/fed-prep.yml:9
<192.168.70.165> ESTABLISH SSH CONNECTION FOR USER: fedora
<192.168.70.165> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/Users/bjozsa/.ssh/terraform"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=fedora -o ConnectTimeout=10 -o ControlPath=/Users/bjozsa/.ansible/cp/ansible-ssh-%h-%p-%r -tt 192.168.70.165 '( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1455298039.05-199224822953976 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1455298039.05-199224822953976 )" )'
<192.168.70.165> ESTABLISH SSH CONNECTION FOR USER: fedora
<192.168.70.165> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/Users/bjozsa/.ssh/terraform"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=fedora -o ConnectTimeout=10 -o ControlPath=/Users/bjozsa/.ansible/cp/ansible-ssh-%h-%p-%r -tt 192.168.70.165 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ztuknsgyaiprtnsyioxayvqewdeoliie; rc=flag; [ -r /etc/yum.repos.d/cockpit-testing.repo ] || rc=2; [ -f /etc/yum.repos.d/cockpit-testing.repo ] || rc=1; [ -d /etc/yum.repos.d/cockpit-testing.repo ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} "/etc/yum.repos.d/cockpit-testing.repo && exit 0; (python -c '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'import hashlib; BLOCKSIZE = 65536; hasher = hashlib.sha1();
afile = open("'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'/etc/yum.repos.d/cockpit-testing.repo'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'", "rb")
buf = afile.read(BLOCKSIZE)
while len(buf) > 0:
hasher.update(buf)
buf = afile.read(BLOCKSIZE)
afile.close()
print(hasher.hexdigest())'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' 2>/dev/null) || (python -c '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'import sha; BLOCKSIZE = 65536; hasher = sha.sha();
afile = open("'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'/etc/yum.repos.d/cockpit-testing.repo'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'", "rb")
buf = afile.read(BLOCKSIZE)
while len(buf) > 0:
hasher.update(buf)
buf = afile.read(BLOCKSIZE)
afile.close()
print(hasher.hexdigest())'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' 2>/dev/null) || (echo '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'0 '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'/etc/yum.repos.d/cockpit-testing.repo)'"'"'"'"'"'"'"'"''"'"''
fatal: [192.168.70.165]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"dest": "/etc/yum.repos.d/cockpit-testing.repo", "group": "root", "mode": "0600", "owner": "root", "src": "cockpit-testing.repo.j2"}, "module_name": "template"}, "msg": "failed to checksum remote file. Checksum error code: 4"}
PLAY RECAP *********************************************************************
192.168.70.165 : ok=0 changed=0 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment