Skip to content

Instantly share code, notes, and snippets.

@lixen
Last active January 28, 2016 15:56
Show Gist options
  • Save lixen/b9290a1679b684699a17 to your computer and use it in GitHub Desktop.
Save lixen/b9290a1679b684699a17 to your computer and use it in GitHub Desktop.
ansible==1.5.3
ERROR: copy is not a legal parameter in an Ansible task or handler
using 2.0.0.2
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default). This feature will be removed in a
future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
PLAY ***************************************************************************
TASK [copy] ********************************************************************
[WARNING]: Calculating checksum failed unusually, please report this to the list so it can be fixed command: rc=flag; [ -r /etc/hosts ] || rc=2; [ -f
/etc/hosts ] || rc=1; [ -d /etc/hosts ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} "/etc/hosts && exit 0; (python -c
'import hashlib; BLOCKSIZE = 65536; hasher = hashlib.sha1(); afile = open("'/etc/hosts'", "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/hosts'", "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/hosts) ---- output: {'stdout_lines': [], 'stdout': u'',
'stderr': u'', 'rc': 255} ----
[WARNING]: Calculating checksum failed unusually, please report this to the list so it can be fixed command: rc=flag; [ -r /etc/hosts ] || rc=2; [ -f
/etc/hosts ] || rc=1; [ -d /etc/hosts ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} "/etc/hosts && exit 0; (python -c
'import hashlib; BLOCKSIZE = 65536; hasher = hashlib.sha1(); afile = open("'/etc/hosts'", "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/hosts'", "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/hosts) ---- output: {'stdout_lines': [], 'stdout': u'',
'stderr': u'', 'rc': 255} ----
fatal: [test101]: UNREACHABLE! => {"changed": false, "msg": "ERROR! SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
fatal: [riak101]: UNREACHABLE! => {"changed": false, "msg": "ERROR! SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
PLAY RECAP *********************************************************************
riak101 : ok=0 changed=0 unreachable=1 failed=0
test101 : ok=0 changed=0 unreachable=1 failed=0
@JeetKunDoug
Copy link

Curious - when you say "Latest" I assume you mean 2.0 of Ansible? Can you try something in the 1.9 series, as I'm fairly certain rtcloud works w/ 1.9.X (I've got 1.9.1 installed locally).

I've seen a few references to this issue on the inter-tubes, but none with any sort of suggested fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment