Giter Site home page Giter Site logo

devwks-2252's Introduction

DEVWKS2252 | Device Compliance and Lifecycle Using Ansible

This repository serves as a landing page for the code used within the DEVWKS2252 workshop at CiscoLive events.

For all non-event related activities/exploration, you'll need to reserve and establish a VPN connection to one of the CML sandboxes withing Cisco DevNet.

  • CML - Large Topology Sandbox (max reservation is 4 hours) can be found here
  • CML - Small Topology Sandbox (max reservation is 2 days) can be found here

From there, the compliance lifecycle can be executed using the sequentially numbered Ansible playbooks (starting with "10"). You will need to ensure that the basic Python requirements are met. Included is the requirements.txt file which can be installed within a virtual environment using the following:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

It is also recommended to use a Python installation not tied to the system Python installation (which is generally updated as part of the macOS/apt/yum process). This can be easily implemented using something like pyenv, which can be found here, but the installation of which is considered out of scope for this README.

Note for Snack Minute Episode 92 Viewers

This is the foundational repository that was used during the recording of Snack Minute Episode 92. The majority of that episode focused on the use of "check mode" (using -C within the command-line of a playbook to perform a "dry run") with the 20-tags.yaml playbook, using the set of tags within that playbook, and using the configuration rendering functionality within Ansible and the 40-render.yaml playbook.

You will still need a reservation to a CML sandbox (or use your own with modifications to the Ansible inventory file), as well as a Python environment with the pre-requisites given in the requirements.txt file, both of which are mentioned above.

Updates to thie README

Updates and additional discussions around each of the files will be coming as time permits.

devwks-2252's People

Contributors

qsnyder avatar fracaen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.