{"id":50262723,"url":"https://github.com/ericcames/aiops-workshop-prep","last_synced_at":"2026-05-27T11:40:38.181Z","repository":{"id":354272016,"uuid":"1222898759","full_name":"ericcames/aiops-workshop-prep","owner":"ericcames","description":"Automates setup of the ansible-tmm/aiops-summitlab AIOps workshop so demos run without manual steps","archived":false,"fork":false,"pushed_at":"2026-04-27T20:44:52.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-27T22:23:03.829Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericcames.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-27T20:19:58.000Z","updated_at":"2026-04-27T20:45:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ericcames/aiops-workshop-prep","commit_stats":null,"previous_names":["ericcames/aiops-workshop-prep"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ericcames/aiops-workshop-prep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericcames%2Faiops-workshop-prep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericcames%2Faiops-workshop-prep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericcames%2Faiops-workshop-prep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericcames%2Faiops-workshop-prep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericcames","download_url":"https://codeload.github.com/ericcames/aiops-workshop-prep/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericcames%2Faiops-workshop-prep/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33564850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-27T11:40:37.239Z","updated_at":"2026-05-27T11:40:38.176Z","avatar_url":"https://github.com/ericcames.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# aiops-workshop-prep\n\nAutomates the setup of the [ansible-tmm/aiops-summitlab](https://github.com/ansible-tmm/aiops-summitlab) AIOps workshop so each demo section is ready to run without manual steps.\n\n## Getting Started\n\n**Step 1 — Order the RHDP catalog item:**\n\n![RHDP Catalog Item](images/rhdp-catalog-item.png)\n\n\u003e **Introduction to AI-Driven Ansible Automation: Self-healing, Observability-Driven AIOps**\n\u003e (provided by RHDP)\n\n**Step 2 — Clone this repo and open it in Claude Code:**\n\n```bash\ngit clone https://github.com/ericcames/aiops-workshop-prep.git\ncd aiops-workshop-prep\nclaude .\n```\n\n**Step 3 — Run setup:**\n\n```\n/aiops-setup\n```\n\nClaude will ask for your RHDP credentials, create `docs/dev-environment.md`, and run all three phase setup playbooks in sequence.\n\nSee [Prerequisites](#prerequisites) for manual setup without Claude Code.\n\n## Upstream Dependency\n\nThis repo targets a running instance of the upstream lab. The upstream repo must be deployed to your RHDP environment before running anything here.\n\n| | |\n|---|---|\n| **Upstream repo** | https://github.com/ansible-tmm/aiops-summitlab |\n| **Description** | Summit 2025 AIOps Lab — source of all job templates, rulebooks, and playbooks |\n\n## Workshop Module Map\n\n| Showroom Section | Demo trigger | What happens |\n|-----------------|-------------|--------------|\n| Part 1: AIOps with Apache Remediation | Run \"❌ Break Apache\" in AAP | EDA Web App rulebook → AI Insights workflow → Lightspeed remediation → auto-fix |\n| Part 2: AIOps with Network Automation | SSH cisco-rtr1, `shut tunnel0` | Syslog → Splunk ospf-neighbor alert → EDA OSPF Neighbor rulebook → Network-AIOps-Workflow |\n| Part 3: AIOps with Windows Automation | Launch \"Simulate AD Account Creation\" or \"Simulate Windows Firewall Toggle\" | Windows Events EDA rulebook → Mattermost ticket or AI-enriched ticket |\n\n\u003e **Part 2 note:** `/aiops-setup` will ask for a Splunk API token during credential collection (Splunk UI → Settings → Tokens → New Token). This is the only step that requires a manual UI action. Automation is tracked in [issue #1](https://github.com/ericcames/aiops-workshop-prep/issues/1).\n\n## Prerequisites\n\n- RHDP AIOps workshop environment provisioned (see [RHDP Catalog Item](#rhdp-catalog-item) above)\n- Ansible installed locally\n- Collections installed (requires Automation Hub token in `~/.ansible/ansible.cfg`):\n  ```bash\n  ANSIBLE_CONFIG=~/.ansible/ansible.cfg \\\n    ansible-galaxy collection install -r collections/requirements.yml -p ./collections\n  ```\n- Credentials populated in `docs/dev-environment.md` (gitignored — never commit):\n  ```bash\n  cp docs/dev-environment.md.example docs/dev-environment.md\n  # edit docs/dev-environment.md with your RHDP instance values\n  ```\n\nSee [docs/troubleshooting.md](docs/troubleshooting.md) if anything fails.\n\n## Environment Variables\n\nSet these before running any playbook:\n\n```bash\n# AAP\nexport CONTROLLER_HOST=\u003caap-url\u003e\nexport CONTROLLER_USERNAME=admin\nexport CONTROLLER_PASSWORD=\u003cpassword\u003e\n\n# Splunk (Phase 2)\nexport SPLUNK_HOST=\u003csplunk-url\u003e\nexport SPLUNK_USERNAME=admin\nexport SPLUNK_PASSWORD=\u003cpassword\u003e\n\n# EDA webhook (Phase 2)\nexport EDA_WEBHOOK_URL=\u003ceda-webhook-url\u003e\n\n# Bastion SSH — required to reach cisco-rtr1 for Phase 2 reset\nexport BASTION_HOST=\u003cbastion-host\u003e\nexport BASTION_PORT=\u003cbastion-port\u003e\nexport BASTION_USER=lab-user\nexport BASTION_PASSWORD=\u003cpassword\u003e\n```\n\n## Usage\n\nEach phase corresponds to a section of the workshop. Run setup before the demo, reset between customer sessions.\n\n```bash\n# Validate the upstream lab is deployed correctly\nansible-playbook -i inventories/rhdp-\u003ccustomer\u003e/ playbooks/preflight.yml\n\n# Set up each section\nansible-playbook -i inventories/rhdp-\u003ccustomer\u003e/ playbooks/setup_phase1_apache.yml\nansible-playbook -i inventories/rhdp-\u003ccustomer\u003e/ playbooks/setup_phase2_network.yml\nansible-playbook -i inventories/rhdp-\u003ccustomer\u003e/ playbooks/setup_phase3_windows.yml\n\n# Reset between sessions\nansible-playbook -i inventories/rhdp-\u003ccustomer\u003e/ playbooks/reset_phase1_apache.yml\nansible-playbook -i inventories/rhdp-\u003ccustomer\u003e/ playbooks/reset_phase2_network.yml\nansible-playbook -i inventories/rhdp-\u003ccustomer\u003e/ playbooks/reset_phase3_windows.yml\n```\n\n## Inventory Setup\n\nCopy the sample inventory for each new RHDP environment and set the environment variables above:\n\n```bash\ncp -r inventories/rhdp-sample/ inventories/rhdp-\u003ccustomer\u003e/\n```\n\n## Phases\n\n| Phase | Showroom Section | Status | What it automates |\n|---|---|---|---|\n| Phase 1 | Part 1: AIOps with Apache Remediation | ✅ Tested | Builds AI Insights and Remediation workflows |\n| Phase 2 | Part 2: AIOps with Network Automation | ✅ Tested | Splunk TCP input, Network Router Setup job, Splunk alert → EDA webhook |\n| Phase 3 | Part 3: AIOps with Windows Automation | ✅ Tested | Verifies Windows job templates and EDA activation |\n\n## Claude Code Skills\n\nIf you're using [Claude Code](https://claude.ai/code), three slash commands are available that read credentials automatically from `docs/dev-environment.md`:\n\n| Command | What it does |\n|---------|-------------|\n| `/aiops-preflight` | Validates the environment is ready before a demo |\n| `/aiops-setup` | Runs preflight + all three phase setup playbooks in sequence |\n| `/aiops-reset` | Resets all three phases to known-good state |\n\nNo manual `export` of environment variables needed — each command reads `docs/dev-environment.md` directly.\n\n## License\n\nMIT — see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericcames%2Faiops-workshop-prep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericcames%2Faiops-workshop-prep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericcames%2Faiops-workshop-prep/lists"}