I get asked often on how to perform specific network automation tasks with Ansible. There were a few questions recently pertaining to the ios_config
module within Ansible core, so I decided to record a video to show different options you have when using it to deploy global configuration commands on IOS devices.
Here is a summary of the four (4) options covered:
commands
(or lines) parameter.src
parameter and reference a configuration file with one or more commands in it.src
parameter and reference a Jinja2 template such that it inserts variables into the template, creating a list of commands, and deploys them to a device.template
module and reference a Jinja2 template to auto-generate a configuration file. In Task 2, use the ios_config
module and reference the config file built in Task 1 to deploy the commands from the file. This is often used instead of option #3 since it allows you to store/view the config file before deploying fully de-coupling the build and deploy processes.The video does assume some existing knowledge on using Ansible. The Continue reading
I get asked often on how to perform specific network automation tasks with Ansible. There were a few questions recently pertaining to the ios_config
module within Ansible core, so I decided to record a video to show different options you have when using it to deploy global configuration commands on IOS devices.
Here is a summary of the four (4) options covered:
commands
(or lines) parameter.src
parameter and reference a configuration file with one or more commands in it.src
parameter and reference a Jinja2 template such that it inserts variables into the template, creating a list of commands, and deploys them to a device.template
module and reference a Jinja2 template to auto-generate a configuration file. In Task 2, use the ios_config
module and reference the config file built in Task 1 to deploy the commands from the file. This is often used instead of option #3 since it allows you to store/view the config file before deploying fully de-coupling the build and deploy processes.The video does assume some existing knowledge on using Ansible. The Continue reading
Enea works for, and competes with, Ericsson and Nokia.
Viptela was the SD-WAN market leader in 2016, analyst says.
Brent Salisbury is today's guest on Full Stack Journey. As someone who transitioned from network engineer to software developer, Brent is ideally suited to share his experiences.
The post Full Stack Journey 004: Brent Salisbury appeared first on Packet Pushers.