-
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: add #AnsibleRequires for Windows modules #31683
Conversation
… or a specific version
Nice feature. If I recall win_firewall has a minimum PS version, but lets gets this in first. Code looks good to me, seems low risk to merge now, relatively early in 2.5. |
260bcce
to
2d96324
Compare
@jborean93 /me had a little booboo using "add commits" capability (accidentally tried to add a commit from a rebased branch w/o force-push). I think I've got it reassembled properly, but you might want to compare against your local copy if you still have it... |
@nitzmahone looks like you fixed it up correctly. |
SUMMARY
This PR adds in the functionality to use
#AnsibleRequires
to state whether a module requiresbecome: yes
isn't set on this task then Ansible will become theSYSTEM
accountOnce the format is done and this is merged in, I will create a separate PR to update the docs.
ISSUE TYPE
COMPONENT NAME
windows
ANSIBLE VERSION