Duration: 3 Days
Course Learning Objectives:
Understand how to create re-usable Ansible code with Roles
Understand key parts of writing custom modules
Understanding of advanced variable use and templating
What is Ansible tower/AWX?
Real world advanced examples
Recap of Basic Concepts
Briefly revisit the key concepts of the Ansible for Network Engineers – Beginners Course as a refresher
They see me Role-ing!
What are roles and what have they ever done for me?
How to create a skeleton config for a new role
Key parts of a roles structure including;
What to do when the role goes wrong
Running roles from a playbook with examples
Pimp my Ansible – with Custom Modules
What are custom modules?
Exploring custom module boilerplate and using the code generator
Error handling – the most important concept of custom modules
Configuring Ansible to use custom modules
Writing a custom module
Running your custom module
Advanced Variables and Templating
Explore advanced capabilities of jinja2 variables
Using advanced capabilities in Ansible variables
Using advanced capabilities in Ansible Templates
What is tower?
Key usage aspects vs just command line
Job output history
Complex Network Configuration and Management Examples
Advanced modules – REST, ACI, Custom Modules
Cisco ACI example