molecule test ansible
2019-05-04, 15:00–15:50, Room B

Some bits about the Ansible Molecule project and how to use it.


A common need when you develop Ansible playbooks is to validate roles before production. For that purpose you need to instantiate temporary infrastructure. Molecule has been created to respond to this need. It has been promoted as a part of the official Ansible ecosystem last year, and is about to become the official SDK to develop and test new roles. This talk will take for granted that you know Ansible, present the tooling landscape around Molecule, showcase some basic usage, dissect a standard molecule scenario, and give some insights on how to integrate the tool in a delivery pipeline. We will go through some implementations done in the open source community: roles published in galaxy, projects relying on molecule for their QA testing (Kubernetes Operator SDK).

  • User & contributor in Molecule / Ansible ecosystem.
  • Free Software Infrastructure Automation professional.
  • Tech writer.