Giter VIP home page Giter VIP logo

ansible-provision-meraki's Introduction

ansible-provision-meraki

Provision Meraki devices with Ansible! (Create Network, Claim Devices, Configure, etc)

Maintenance MIT license published

Prerequisites

  • Ansible 2.7+
  • Meraki Devices
  • pwgen (installed on Ansible server)

YML File Customization

There are a few things that you'll need to customize yourself before you run the main playbook. I have what you need to customize layed out below.

  • create_office.yml
    • In this file you will need to add in your Meraki API key and your org name for it to be able to continue on with this automation process with ansible. If you're unsure on how to get a Meraki API key please see the link below.

https://documentation.meraki.com/zGeneral_Administration/Other_Topics/The_Cisco_Meraki_Dashboard_API#Enable_API_access

  • claim_devices.yml

    • The only real thing to change in this file is the device names under each "Update".
  • create_ssid.yml

    • This configures the SSID for any APs you will be installing as well as randomly generating a RADIUS key using pwgen

      • Under "setup wireless ssid" change the name to what your want your SSID to be called
      • Change host IP addresses under "radius_servers" if you're using radius, if not remove the whole radius_servers section
      • Change the default_vlan_id to whatever you want the SSIDs VLAN to be
  • configure_switches.yml

    • This file configures switchports on the switches you've defined. Please customize this how you would like changing the names, types and VLAN numbers to how you please.
  • configure_vlans.yml

    • This file will configure VLANs on any MX devices you have claimed within the network. Change the names and VLAN IDs accordingly.

Running the playbook

Once you have all the files customized to your liking and in the same directory you'll want to target "create_office.yml" with your ansible-playbook command. If you run into error be sure to append -vvv to it for extreme debugging output.

Example: ansible-playbook create_office.yml (-vvv for extreme debugging)

ansible-provision-meraki's People

Contributors

shrunbr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.