If you’re trying to build a package from the latest git devel (at least a deb package), there’s a bug that breaks the build.
The hacking/module_formatter.py stacktraces on missing dict entries, because the ‘options’ are not documented in the module docstring
minimal patch to make the buil work:
https://github.com/ansible/ansible/pull/3024
Should still be properly documented; maybe patch the module formatter script.
Serge