Hi,
I want to create ansible automation for create IPv4 pools on Windows Server 2019 operating system.
This is where I want to add the pool:
From what I understand I have two options I could do that:
- Is to the find dhcpmgmt built-in Ansible module which is capable to create pools (don’t know if this kind of module even exist)
- Is to send PowerShell commands to the dhcp server (dhcp1) and configure the pool through that.
I need help in:
- Does Ansible module exist for creating pools on dhcp windows servers? If it does can I get some references?
- How do I configure windows servers with PowerShell commands? What module to use and how does the code for the task should look like?
Thanks in advance,
YP