Networking • Automation • Occasional Podcasting

Category: Ansible

  • Ansible Command vs Shell vs Raw Modules

    Ansible has the ability to run remote commands in several different ways. Recently I was trying to figure out what the difference was between command, shell, and raw modules; when is the proper time to use one over the other. Raw Module The raw module is the most stripped down base way to run commands…

  • Setup Hashicorp Vault Quickly For Your Lab
    , , ,

    Setup Hashicorp Vault Quickly For Your Lab

    I recently had the need to use Hashicorp Vault with Ansible to store passwords-n-such, and I thought “Oh I’m sure this is simple.” Several hours later I realized “It’s not so simple.” I’ve put this together to be used in a LAB environment. The install method is good for production, but my configuration certainly is…

  • , ,

    Mikrotik Script To Add CPE Names To Switch Ports

    In one of my new build MDUs, the cabling got all scrambled so my in room Mikrotik routers got all scrambled up. I needed a way to go through each switch and update the interface comment to match what room it is associated with. Each CPE is named Room101, Room225, etc. If I connect to…

  • Ansible Mikrotik Mass Configuration Fast – Mikrotik MUM US 2020
    , ,

    Ansible Mikrotik Mass Configuration Fast – Mikrotik MUM US 2020

    This is 30 minutes that will take you from zero to using Ansible for mass configuration of your Mikrotik devices. This will cover the very basics of Ansible, then follow with demonstrations on creating and using playbooks. You can find my Ansible scripts in my GitHub repository. Happy automating and let me know your thoughts!