If you want to contribute a module to Ansible, you must meet our objective and subjective requirements. Modules accepted into the main project repo ship with every Ansible installation. However, contributing to the main project isn’t the only way to distribute a module - you can embed modules in roles on Galaxy or simply share copies of your module code for local use.
To contribute a module to Ansible, you must:
AnsibleModule
common codeDOCUMENTATION
Please make sure your module meets these requirements before you submit your PR/proposal. If you have questions, reach out via Ansible’s IRC chat channel or the Ansible development mailing list.
If your module meets our objective requirements, we’ll review your code to see if we think it’s clear, concise, secure, and maintainable. We’ll consider whether your module provides a good user experience, helpful error messages, reasonable defaults, and more. This process is subjective, and we can’t list exact standards for acceptance. For the best chance of getting your module accepted into the Ansible repo, follow our tips for module development.
For a checklist and details on how to write Windows modules please see Windows module development walkthrough