-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows development: info about module_utils and requires #32060
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edited. Docs are good, but would really be better if they were fleshed out with specific command line and code examples rather than just high-level bullet points. Thanks @jborean93 - nice work!
|
||
|
||
Windows unit testing | ||
==================== | ||
|
||
Currently there is no mechanism to run unit tests for Powershell modules under Ansible CI. | ||
There is work in the pipeline to introduce this in the future, stay tuned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed. Please do not discuss possible upcoming features in the documentation. Feel free to ping me for further explanation.
The test
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dharmabumstead just one question regarding your changes. As for fleshing out the content we can always do that in time but my aim is to just get at least something out there for people to get started on.
- Legacy: General definitions and helper utilities for Ansible module. | ||
- SID: Utilities used to convert a user or group to a Windows SID and vice versa. | ||
|
||
For more details on any specific module utility and their requirements, please see the `Appendix: Ansible Module Utilities <http://docs.ansible.com/ansible/latest/dev_guide/developing_module_utilities.html>_` and the `Ansible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link to the developing_module_utilities
isn't really relevant to the PowerShell module_utils and probably will lead to confusing, do you mind if I remove it @dharmabumstead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure.
SUMMARY
Adds info about
#Requires
and#AnsibleRequires
as well as how to use module_utils.ISSUE TYPE
COMPONENT NAME
windows development
ANSIBLE VERSION