I just hit up against this issue too... :( Although I discovered a somewhat weird workaround.
The python3-pyfits package[1] includes a copy of weakref.py[2] and when installed, it appears that that is used instead (and the error not longer occurs). It's pretty dirty and TBH, I'm not a big fan of installing stuff that I don't directly require, but OTOH it's a really easy workaround! YMMV, but it works with python3 build of Ansible 2.7.10. Cheers, Jeremy
signature.asc
Description: OpenPGP digital signature