fatal: [...]: FAILED! => {"failed": true, "msg": "exception while preparing LDAP parameters: cannot import name template"}
no similar issues coming up with other modules or the template module itself
also no problem with importing template from the python REPL
Python 2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170118] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ansible import template
>>> template
<module 'ansible.template' from '/usr/lib/python2.7/dist-packages/ansible/template/__init__.pyc'>
>>>
debian-stretch ansible 2.2.1.0 latest master
no similar issues coming up with other modules or the template module itself
also no problem with importing template from the python REPL
seems like an upstream bug?