Foundations Lab · On-demand
Ansible Engine Validation
Details
Goals & objectives
Hardware & software
Solution overview
Automated validation of the desired state can be built into the playbook logic to ensure the expected end state is reached. This lab will focus on building simple tests using the ansible.builtin.assert module.
This training will walk you through automating the configuration of the OSPF routing protocol on the lab topology routers, while also including tests for OSPF neighbor states and resulting OSPF routes in the routing table.
By the end of this lab you will have an understanding of the Arrange-Act-Assert testing pattern and how to use the ansible.builtin.assert module in your playbooks for inline testing.