ansible-collections / community.windows

Windows community collection for Ansible
https://galaxy.ansible.com/community/windows
GNU General Public License v3.0
193 stars 152 forks source link

Support IPv6 in win_dhcp_lease #553

Open DonBower opened 5 months ago

DonBower commented 5 months ago
SUMMARY

Currently only IPv4 is supported. It would be nice to support IPv6

ISSUE TYPE
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
    ipv6: "2600:6c51:7b7e:f414:a246:60ff:fe27"
    ipv6_scope: "2600:6c51:7b7e:0:0:0:0"
    mac: 00:B1:8A:D1:5A:1F
    dns_hostname: "{{ ansible_inventory }}"
    description: Testing Server