ryuu.psg.com:/Users/randy/ansible> ansible --version
ansible 2.0.0
---
- hosts: debian:ubuntu
gather_facts: no
tasks:
- name: push 01norecommend
copy: src=files/linux/01norecommend
dest=/etc/apt/apt.conf.d
mode=644
owner=root
group={{root_group}}
threw an error i do not understand
ok: [
vm0.foo.edu]
ok: [
tor0.foo.edu]
warning: Calculating checksum failed unusually, please report this to the list so it can be fixed
command: rc=flag; [ -r /etc/apt/apt.conf.d ] || rc=2; [ -f /etc/apt/apt.conf.d ] || rc=1; [ -d /etc/apt/apt.conf.d ] && rc=3; python -V 2>/dev/null || rc=4; [ x"$rc" != "xflag" ] && echo "${rc} "/etc/apt/apt.conf.d && exit 0; (python -c 'import hashlib; BLOCKSIZE = 65536; hasher = hashlib.sha1();
afile = open("'/etc/apt/apt.conf.d'", "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/apt/apt.conf.d'", "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/apt/apt.conf.d)
----
output: {'stdout': '', 'stderr': '', 'rc': 255}
----
ok: [
scratch.foo.edu]