© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. SestoPractical Ansiblehttps://doi.org/10.1007/978-1-4842-8643-2_8

8. Testing Ansible with Molecule

Vincent Sesto1  
(1)
Auckland, New Zealand
 

In the previous chapter, we started looking at ways to test and troubleshoot your Ansible code using different options provided by Ansible like –-step, ansible-lint, and --syntax-check. In this chapter, we are going to take this testing further by installing and using the Molecule application, which will allow us to use it as a testing framework over our Ansible roles and playbooks.

We have dedicated the entire chapter to using Molecule as there is a lot of work we will need to cover. In this chapter
  • We will introduce ...

Get Practical Ansible: Configuration Management from Start to Finish now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.