This repository contains the playbooks to configure Ansible Automation Controller or Ansible AWX 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.
The companion repo that contains the demo playbooks and configuration is available at https://github.com/wwt/ansible-meraki-demo.
⚠️ The following are the basic settings that need to be changed. Your environment requirements may vary.
- Update
controller_configs/controller_auth.yml
with appropriate hostname of your AAP or AWX instance. - Update
controller_configs/controller_projects.yml
with the appropriatescm_url
for your environment. - Copy
ENVEXAMPLE
to.env
and update settings as necessary. - Run
ansible-playbook create_token.yml
to authenticate with your AAP or AWX instance and add an OAuth token to .env. - Run
source .env
command to load Environment Variables - Run
ansible-playbook configure_controller.yml
to push configuration to your AAP or AWX instance.
template_surveys/claim_meraki.json
- Survey to prompt user for information required to execute claim_devices.yml
playbook.
playbooks/delete_token.yml
- Playbook to delete OAuth token from AAP or AWX.
Nick Thompson - https://github.com/nsthompson