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.

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

View code on GitHub
  • Owner

  • Contributors

    +1Github contributor
  • Categories

  • Products

    Meraki
  • Programming Languages

    Ansible
  • License

    GNU General Public License v3.0

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.