Skip to content
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

Provide ability to add DHCP Options to win_dhcp_lease #551

Open
DonBower opened this issue Feb 4, 2024 · 0 comments
Open

Provide ability to add DHCP Options to win_dhcp_lease #551

DonBower opened this issue Feb 4, 2024 · 0 comments

Comments

@DonBower
Copy link

DonBower commented Feb 4, 2024

SUMMARY

Ability to identify specific DHCP options, such as 012 Host Name or 007 Log Servers, etc along with the specified values

ISSUE TYPE
  • Feature Idea
    provide a new parameter, reservation_options: as an array of kv pairs of option number, and option value.
COMPONENT NAME

win_dhcp_lease

ADDITIONAL INFORMATION
- name: Ensure DHCP reservation exists
  community.windows.win_dhcp_lease:
    type: reservation
    ip: 192.168.100.205
    scope_id: 192.168.100.0
    mac: 00:B1:8A:D1:5A:1F
    dns_hostname: myhostname.mydomain.net
    description: Testing Server
    reservation_options:
      - 012: myhostname
      - 007: [192.168.2.25,10.3.4.6]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant