{"id":21636122,"url":"https://github.com/bigevilbeard/external_demo","last_synced_at":"2026-05-11T16:35:18.154Z","repository":{"id":128721671,"uuid":"145407225","full_name":"bigevilbeard/external_demo","owner":"bigevilbeard","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-20T12:20:17.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-18T23:51:24.478Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigevilbeard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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}},"created_at":"2018-08-20T11:13:30.000Z","updated_at":"2018-08-20T12:20:18.000Z","dependencies_parsed_at":"2023-03-13T11:28:42.165Z","dependency_job_id":null,"html_url":"https://github.com/bigevilbeard/external_demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bigevilbeard/external_demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigevilbeard%2Fexternal_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigevilbeard%2Fexternal_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigevilbeard%2Fexternal_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigevilbeard%2Fexternal_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigevilbeard","download_url":"https://codeload.github.com/bigevilbeard/external_demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigevilbeard%2Fexternal_demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32903498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"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":"2024-11-25T03:30:04.729Z","updated_at":"2026-05-11T16:35:18.134Z","avatar_url":"https://github.com/bigevilbeard.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Demo\nIn this demonstration we'll explore the new `network_cli` connection method as well as multi-platform role creation.  \n\n## \"Gitting\" the Code\nAll of the code and examples for this lesson is located in the `netdevops_demos/ansible_02` directory.  Clone and access it with the following commands:\n\n```bash\ngit clone https://github.com/bigevilbeard/external_demo\ncd netdevops_demos/ansible_02\n```\n\n## Local Workstation Setup\n### Python Environment Setup\nIt is recommended that this demo be completed using Python 3.6.   \n\nIt is highly recommended to leverage Python Virtual Environments for completing exercises in this course.  \n\nFollow these steps to create and activate a venv.  \n\n```bash\n# OS X or Linux\nvirtualenv venv --python=python3.6\nsource venv/bin/activate\n```\n\n***Windows not supported by Ansible***\n\n#### Install Python Requirements for Lesson\nWith the Virtual Environment activated, use pip to install the necessary requirements.  \n\n```bash\n# From the code directory for this lesson\npip install -r requirements.txt\n```\n\n## DevNet Sandbox\nThis lesson leverages the [Open NX-OS with Nexus 9Kv On VIRL](https://devnetsandbox.cisco.com/RM/Diagram/Index/1e9b57ff-9e64-4c68-93e5-f0f0a8c6f22c?diagramType=Topology) Sandbox.  \n\nYou will need to reserve an instance of the sandbox, and establish a VPN connection to your individual Sandbox to complete this lab.\n\n### Post Reservation Setup\nThis lesson leverages a specific [VIRL topology](topology.virl).  Before beginning this lesson run the following command to reconfigure the Sandbox with the proper topology.  \n\n**From the `netdevops_demos/ansible_02` directory**\n\n```bash\n# Get a list of currently running simulations\nvirl ls --all\n\n# Stop any running simulations.\nvirl down --sim-name API-Test\n\n# Start the VIRL Simulation for demo\nvirl up\n\n# Monitor status of simulation\nvirl nodes   # Node startup\n```\n\n## Ansible Demo #1\nThe VIRL simulation starts with a network only cabled and configured with management IPs and administrative credentials.  To push out the initial baseline configuration to the network run the following.  \n\n```bash\nansible-playbook network_deploy.yaml\n```\n\nDepending on network and VPN performance, the playbook may fail due to connection timeouts.  Simply re-run the playbook until fully complete.  You can also limit the target of the run to particular network devices with with the following adjustments.  \n\n```bash\n# Run against just the \"core\" routers\nansible-playbook network_deploy.yaml --limit core\n\n# Run against just the \"distribution\" switches\nansible-playbook network_deploy.yaml --limit distribution\n\n# Run against just the \"access\" switches\nansible-playbook network_deploy.yaml --limit access\n```\n\n## Resetting Demo\nYou can reset the demo files in this repo by running this command.  \n\n```bash\ngit reset --hard\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigevilbeard%2Fexternal_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigevilbeard%2Fexternal_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigevilbeard%2Fexternal_demo/lists"}