Using Ansible Roles to Enforce VLAN Compliance

Sdílet
Vložit
  • čas přidán 1. 10. 2020
  • In this video I demonstrate how to use Ansible roles to enforce VLAN compliance on Cisco switches. If you would like to check out the playbook in more detail, check out this blog post:
    journey2theccie.wordpress.com...
  • Věda a technologie

Komentáře • 2

  • @andrewohanian5132
    @andrewohanian5132 Před 3 lety

    Great video! One thing I am wondering about is how to use this to audit devices. Say you have 100 switches and you know that around 10 of them are non-compliant and use unqiue ("snowflake") vlan IDs, but you want a quick way to produce a report that tells you which are non-compliant. I know that running ansible-playbook --check will run without making changes, but is there an easy way to output this to a spreadsheet/txt file or something?

    • @michael_obrien
      @michael_obrien  Před 3 lety

      Yes you can! That's a good idea actually. There are a bunch of ways to save the output to variables for parsing. I'd have to look more into it for the specifics, but that sounds like a fun project.