I’m just starting to develop my first module and test-module gives me an error during arg parsing. So I tried running test-module against ping.py and got the same error. See below. My first guess is it’s a python 2.6.6 problem. Any other ideas?
ansible/hacking/test-module -m ansible/lib/ansible/modules/core/system/ping.py
Traceback (most recent call last):
File “ansible/hacking/test-module”, line 207, in
main()
File “ansible/hacking/test-module”, line 189, in main
options, args = parse()
File “ansible/hacking/test-module”, line 67, in parse
default=‘python={}’.format(sys.executable))
ValueError: zero length field name in format