I’ve just notices that the existing 3 doc fragment files are GPL, I thought that any reusable module common code was BSD to allow for 3rd party modules to reuse these w/o license restrictions.
This is most likely a copy/paste error, we’ll work on correcting this ASAP after contacting the authors.
–Michael
Looking at this again, this should be fine:
https://github.com/ansible/ansible/blob/devel/lib/ansible/utils/module_docs_fragments/aws.py
It’s a python file, but it’s not inserted directly into the module source, the data in the file is mixed in at runtime to generate the docs.
–Michael