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.
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 reviews

"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, enabling SSH on network devices.

Ansible architecture
How ansible “normally” works, Agentless, SSH, ansible and Python, modules, how ansible work on network devices, Configuration management, inventories, playbooks, modules, ansible.cfg.
Hands on: Getting started, running ad hoc commands.

ansible-playbook, users, YAML, plays, tasks, modules. ansible-vault.
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.

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

Ansible network modules
Built in modules, custom modules, return values. ansible-doc –l. connection: local, Cisco modules, Juniper module,
Hands on: Using modules for your network devices.

Ansible templatings The template module, the assemble module, jinja2 templates, for, if else.
Hands on: Configuring network devices from templates.

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.

Ansible and NAPALM Installation, napalm-ansible, NAPALM modules: napalm_diff-yang, napalm_get_facts, napalm_install_config, napalm_parse_yang, napalm_ping, napalm_translate_yang, napalm_validate.
Hands on: Using NAPALM modules in ansible.

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