Hi all,
I have created a template file, which touches multiple sections, among others includes physical interfaces as well as other protocols like BGP.
I tried to apply this via ‘src:’, but it seems to replace the entire config only. I tried a few other things, e.g. the use of ‘match’ without success.
The goal is to build a configuration template for creating a service and deploy this via Ansible on multiple devices.
Is there any way to make multiple config changes via template file?
At the moment, it seems to be a bit cumbersome to do this via ‘lines’.
Playbook: