GithubHelp home page GithubHelp logo

techiewarrior / slt-netdevops Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nickrusso42518/slt-netdevops

0.0 1.0 0.0 24 KB

Safari Live Training - Fundamentals of Network DevOps

License: GNU General Public License v3.0

slt-netdevops's Introduction

Build Status

Safari Live Training - Network DevOps

Source code for the training course. Please contact me with any questions. Before beginning, be sure you know how to use git at a basic level on your computer. I teach git in the course so if you don't know how to clone this repository yet, do not worry. For this course, only Linux platforms should be used for the Ansible control/development machine.

Contact information:
Email: [email protected]
Twitter: @nickrusso42518

Download Instructions

The easiest way to consume this code is to clone it using SSH or HTTPS.

SSH: git clone [email protected]:nickrusso42518/slt-netdevops

or

HTTPS: git clone https://github.com/nickrusso42518/slt-netdevops

After cloning, you should see the following file system structure:

$ tree
.
├── ansible.cfg
├── hosts.yml
├── LICENSE
├── ntp_config.yml
├── README.md
├── requirements.txt
└── test.yml

Ensure you have Python 3.6 or newer installed along with pip. Feel free to use Python virtualenv if you'd like to test multiple versions.

Visit https://www.python.org/downloads/ to download Python.

sudo python -m ensurepip

or

sudo easy_install pip

You can install the required packages (really just Ansible and a YAML linter) using the following command:

pip install -r requirements.txt

You should have access to the ansible command on the correct version.

$ ansible --version
ansible 2.8.7
  config file = /home/ec2-user/racc/ansible.cfg
  configured module search path = ['/home/ec2-user/.ansible/plugins/modules',
    '/usr/share/ansible/plugins/modules']
  ansible python module location =
    /home/ec2-user/environments/racc287/lib/python3.7/site-packages/ansible
  executable location = /home/ec2-user/environments/racc287/bin/ansible
  python version = 3.7.3 (default, Aug 27 2019, 16:56:53)
    [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]

Usage

This repository is kept minimal since the main point of this course is teaching the fundamentals of Network DevOps, not Ansible as a specific tool.

  • To edit NTP server variables, open hosts.yml and update the ntp_server variables using valid IPv4 addresses.
  • To run the playbook, run ansible-playbook ntp_config.yml from the shell.
  • To test the playbook, run ansible-playbook test.yml from the shell. This mimics what Travis CI does each time code is committed to Github.

slt-netdevops's People

Contributors

nickrusso42518 avatar

Watchers

James Cloos 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.