I am new to the concept of using Ansible for Junos automation. I have a couple of queries about this topic.
I have a few Juniper devices(Switches and Firewalls) running in the production network. I have installed a test Ansbile server and played around with it for a while.
For taking this to the production, how do I start? For example, if I have 10 devices, do I have to write 10 different YAML files to manage each device?
Also I understand that I can run 'juniper_junos_config' module and get the current config and then convert it to a YAML file and save it.
But how do I do the actual config changes with 'juniper_junos_config'? Do I have to keep the junos config in a separate file and then call that file into the YAML play-book OR do I have to write the junos set command with the the YAML itself? What is the most preferred way?