Problem: The foreman-ansible-modules provide a smart way to configure subnets in a foreman installation. This is especially helpful if you have to manage a bigger foreman installation with dozen of subnets in dozen of locations. This is why we want to use foreman-ansible-modules to configure anything via pipelines.
Unfortunately the subnet module is not able to handle IPAM configuration if you use an external IPAM like phpIPAM. This is what we do.
If we follow the documentation of the subnet module there are exactly 4 cases which are supported as IPAM by the ansible module.
DHCP ←
Internal DB
Random DB
EUI-64
None
Expected outcome:
- The plugin
smart_proxy_ipam
should extend the API object subnet by the needed fields to configure these via API too. - The subnet module should provide a way to configure such fields from 1) via an extra dictionary or so.
Foreman and Proxy versions:
Foreman server: 2.1.2
Foreman and Proxy plugin versions:
smart_proxy_ipam: 0.0.15
Other relevant data:
We also open a issue on github page of foreman-ansible-modules (#966)