DevConf.CZ

Testing Ansible code with Ansible Molecule
2024-06-14 , E104 (capacity 72)

In order to prove that automations do what they are intended to do, they should be run in an ephemeral testing environment which mirrors production: the same dependencies, infrastructure, apps, etc. Ansible Molecule is the preferred framework for testing Ansible Collections in ephemeral environments. In this session we will demonstrate how Ansible code developers can implement and use Ansible Molecule to test their work before it hits production environments.

See also:

Alexon has been working as a Principal Technical Account Manager at Red Hat since 2018, working in the Services organization focusing on Infrastructure and Management, Integration and Automation, Cloud Computing, and Storage Solutions. He is a part of the TAM Practices LATAM team based in São Paulo, Brazil, where his job is partnering with, advocating, trust-advising, and supporting customers in their success goals while making use of the complete portfolio. He also contributes to produce and enhance documentation, knowledge-base articles, blog posts, presentations, webinars, and workshops. He is a member of numerous communities, like Red Hat Academy, Red Hat Accelerators, OpenInfra Foundation and others. When he’s not at work, he enjoys spending quality time with his family (wife, daughter, and cat) and participating in several volunteer jobs.