How to handle network changes and restart with Ansible?
I'm currently developping a network configuration role used by Ansible to customize our fresh new virtual machine that came from our Debian 11 template. The following role changes from DHCP to static interface configuration and then restart the networking service.For testing purpose i set IP/netmask/gateway as extra vars (and it's dynamically changed depends