/ansible-meraki-demo

Ansible + Meraki - End-to-End Edge Network Lifecycle Demo

GNU General Public License v3.0GPL-3.0

published Run in Cisco Cloud IDE

ansible-meraki-demo

This repository contains sample Ansible Playbooks and Event-Driven Ansible Rulebooks as demonstrated during the "Using Ansible to automate edge site infrastructure at scale" talk delivered in Red Hat's booth during Cisco Live US 2023 and during the "Automation at the Edge with Red Hat Ansible and Cisco Meraki" talk delivered in Red Hat's booth during Cisco Live US 2024.

The content and data models have been updated for 2024, and now utilize the latest release of the wwt.meraki collection. This collection has been rewritten to support the latest release and certified content provided as part of the cisco.meraki collection.

Details

Included Playbooks

  • claim_devices.yml - Claim Meraki Devices, Orders, or Licenses into your Meraki Dashboard.
  • configure_network.yml - Uses wwt.meraki Ansible collection to provision demo environment.
  • unconfigure_demo.yml - Calls remove_mqtt.yml and remove_network.yml to tear down Demo Environment in the proper order.
  • send_webex_message.yml - Captures Meraki MV Camera snapshot and sends a Webex Teams message. Called from Event-Driven Ansible.

Included Rulebooks

  • rulebooks/mt30-mqtt-rulebook.yml - Listens for MQTT Messages from Meraki MT30 sensor and triggers environment tear down or camera snapshot.

.env Example

  • ENVEXAMPLE - Example .env file to be used if using ansible-playbook to run playbooks.

Contributors

Nick Thompson - https://github.com/nsthompson