This GitHub repository contains Ansible automation that can be used as a reference while learning from Pluralsight's Integrating IT Service Management into Ansible Network Workflows course.
To set up this repository and follow along with the courseware, perform the following steps:
- Use
git clone
to clone this repository to your local development machine.
$ git clone https://github.com/ChristopherJHart/pluralsight-ansible-itsm.git
- Move into the newly-created directory.
$ cd pluralsight-ansible-itsm/
- Create and activate a new Python virtual environment to house this project's dependencies.
$ python -m venv .venv; source .venv/bin/activate
- Install this project's Python package dependencies using
pip
:
$ pip install -r requirements.txt
- Install this project's Ansible collection dependencies using
ansible-galaxy
:
$ ansible-galaxy collection install -r collections/requirements.yaml
- (Optional) If you are interested in using this project as a base to create your own Ansible automation, install this project's development-related Python package dependencies using
pip
:
$ pip install -r requirements-dev.txt
- (Optional) If you are interested in using Ansible playbooks to deploy a network topology to a Cisco Modeling Labs (CML) instance that can be used to test automation, install this project's development-related Ansible collection dependencies using
ansible-galaxy
:
$ ansible-galaxy collection install -r collections/requirements-dev.yaml