relatively new to ansible, and so far working my way through successfully provisioning a cumulus switch with Ansible and the modules that are now part of Core.
Here's where i'm running into a snag:
all of the examples I see in Cumulus github and elsewhere use for example the "cl_interface" module with a handler to restart networking -- which is literally defined to restart the networking service.
as I recall, this is a destructive event in Cumulus and would result in downtime if one were to make an interface change and re-configure the switch using the ansible playbook. Is that not the case? That would not be ideal...
My understanding one should use 'ifreload -a' when making a change to an interface configuration, as this was non-destructive.
Currently in my playbook my "restart networking" handler I have it set to run 'ifreload -a' but that does not seem to be working presently -- perhaps because I need to first restart networking so that it will include the interface config files created by the "cl_interface" module.
Just curious what others are doing in the field here.