Speak to our team now +44 (0)1737 821590

Ansible for network engineers

A 2 day
training course

Ansible course description

The course focusses on the use of ansible for network devices instead of its usual server use case. The course progresses from the basics of ansible and playbooks onto using network specific modules including NAPALM. The use Jinja2 templating with ansible is also studied. Hands on sessions with ansible configuring routers and switches follow all major sections.

Key outcomes from this course

By the end of the course delegates will be able to:
  • Automate tasks with ansible.
  • Write ansible playbooks.
  • Configure network devices with ansible.
  • Troubleshoot network devices with ansible.
  • Use ansible network modules.
  • Use jinja2 templates with ansible.

Ansible training course details

Who will benefit:
Network engineers.
Linux administration skills.
TCP/IP Foundation
2 days

Training approach

This structured course uses Instructor Led Training to provide the best possible learning experience. Small class sizes ensure students benefit from our engaging and interactive style of teaching with delegates encouraged to ask questions throughout the course. Quizzes follow each major section allowing checking of learning. Hands on sessions are used throughout to allow delegates to consolidate their new skills.

Overall ratings for this course:

This is a new course

customer review

"Hard concepts were explained very simply."
J. S. Framestore CFC
"Excellent presentation - very good course structure."
B. M. London Internet Exchange

Ansible training course contents

What is ansible?
The language, the engine, the framework. Uses of ansible, orchestration.
Hands on: Installing ansible.

Ansible architecture
Controlling machines, nodes, Agentless, SSH, modules, JSON protocol. Configuration management, inventories, playbooks, modules, roles.
Hands on: Getting started, running ad hoc commands.

Ansible and Vagrant
Prototyping and testing.
Hands on: Using ansible with Vagrant

Ad hoc commands
Parallelism, shell commands, managing files and directories, file transfer, package management, manage user and groups, deploying applications, service management, background jobs, checking log files, managing cron jobs.
Hands on: Using ad hoc commands.

Modules Built in modules, custom modules, return values.
Hands on: Using modules.

ansible-playbook, users, sudo, YAML, plays, tasks, handlers, modules.
Hands on: Running playbooks.

More playbooks Handlers, variables, environmental variables, playbook variables, inventory variables, variable scope and precedence, accessing variables, facts, ansible vault. Conditionals, wait_for.
Hands on: Using variables and conditions in playbooks.

Roles and includes
Dynamic includes, Handler includes, playbook includes. Roles, role parts: handlers, files, templates, cross platform roles, ansible galaxy.
Hands on: includes example, building roles.

Inventories /etc/ansible/hosts, inventory variables, static inventories, dynamic inventories.
Hands on: Static and dynamic inventories.

Individual server cookbooks, Main playbook for configuring all servers.
Hands on: Playbooks.

Why Choose Us

SNT trainers score an average of over 90% on the three main areas of:
  • Ability to teach
  • Technical knowledge
  • Answering questions
“Excellently presented by a very knowledgeable and enthusiastic trainer.” P.D. General Dynamics

We limit our maximum class size to 8 delegates; often we have less than this. This ensures optimal interactivity between delegates and instructor.
"Excellent course. The small class size was a great benefit…" M.B. IBM

We write our own courses; courseware does not just consist of slides and our slides are diagrams not bullet point text. A typical chapter provides clearly defined objectives with a chapter overview, slides with text underneath, a quiz at the end to check the learning of the students. Hands on exercises are at the end and are used to reinforce the theory.

See Dates & Prices for this course

To enquire about this course

To reserve this course online