Determine What Code to Automate There are multiple ways to automate. A working example provides a template structure that you can quickly modify and customize for efficiency and effectiveness. Version control enables you to use a working example, tweak it little by little, and then run...
Use Custom Templates or Functions You can use templates to help reduce errors with repetitive tasks. For example, Jinja2 is a convenient templating tool for Ansible and Python. You can use ERB templates in Ruby with Puppet and Chef. Using ERB templates, you can generate...
Use Ansible to Generate and Apply Junos Configuration This example demonstrates how to use Ansible to generate and apply Junos configuration to the EX, MX, QFabric, QFX, and SRX Juniper platforms. The configuration generated enables system basics such as TACACS+ authentication, NTP,...