-
Notifications
You must be signed in to change notification settings - Fork 162
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
win_dhcp_lease fix MAC address convert and performance improvements #427
win_dhcp_lease fix MAC address convert and performance improvements #427
Conversation
This always use the mac address format with dashes. Fixes ansible-collections#291
If MAC and IP are defined, only try to find existing lease by MAC. This saves us a second Get-DhcpServerv4Lease call and improve the performance of this module.
Hi Thanks for your contribution, I just wanted to let you know that I am taking some time off and won't be able to review this PR until I get back in a few weeks. Please don't take the silence as I am ignoring your work, just that I won't be around to look at it for a while. Don't worry about the test failures you see here in the PR, they are known problems with dependency resolution that still need be to fixed on our side. If you have any questions please direct them to #ansible-windows on Libera chat, details on this can be found at https://docs.ansible.com/ansible/latest/community/communication.html#ansible-community-on-irc. Thanks |
Does this explain why I get random failures such as below:
My play YAML:
My vars YAML:
I always get a lease created but randomly the reservations fail. The scope is correct.
Thank you! |
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.
Changes look good, are you able to add a changelog fragment as per https://docs.ansible.com/ansible/latest/community/development_process.html#creating-a-changelog-fragment to document this bugfix
please.
@jborean93 changelog added. |
SUMMARY
ISSUE TYPE
COMPONENT NAME
win_dhcp_lease