I am getting this error when running ansible 2.1.0.0
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File “/var/folders/c7/wbkyhcfj69dcsvp3464g0knh0000gn/T/ansible_psAqud/ansible_module_blockinfile.py”, line 290, in
main()
File “/var/folders/c7/wbkyhcfj69dcsvp3464g0knh0000gn/T/ansible_psAqud/ansible_module_blockinfile.py”, line 226, in main
if ANSIBLE_VERSION.startswith(‘1.’):
NameError: global name ‘ANSIBLE_VERSION’ is not defined
maybe this issue is happening again?
https://github.com/ansible/ansible/issues/11545
any recomendations on how to fix it?
Thanks!