network automation blog

  • Kinesis Advantage360 review

    Kinesis Advantage360 is a split keyboard focusing on ergonomics. I started using it due to a wrist injury, and I’m almost glad I got injured because it led me to this keyboard. It took me around 3 months to get comfortable typing on this keyboard. If you, like me, never learned proper touch typing –…

  • Ansible loop speed to the max

    Imagen you want to use Ansible to set interface description based on CDP. The following example is super slow because each iteration in the loop, that satisfies the condition, is a separate task that Ansible has to execute. Modern modules, so-called resource modules, start with a “config” option that accepts multiple items from a list.…

  • Cisco Catalyst slow SCP fix

    Cisco released the following command in IOS-XE 17.2.6. This essentially increases the window-size for SCP which allows for more throughput – and it is very noticeable: an IOS-XE image is around 1.2 GB, and this new command makes SCP go from hours to minutes. Here is an Ansible example showing how to utilize this new…

  • Ansible persistent logging

    By default, Ansible logs the output of playbooks to stdout. This is all fun and games until you close the terminal, something breaks, your logs are gone and you (like me) don’t remember exactly what you did. Luckily, persistent logging can easily be configured on the Ansible controller. These logs do not give you the…