Caching mechanism in ansible-bender

A few weeks ago I announced a new project — ansible-bender (ab). It’s a simple tool to create container images using Ansible playbooks. The same concept as ansible-container, but ab is only about builds.

Ansible-bender utilizes an ansible connection plugin to invoke a playbook in a container and buildah as the container technology.

Recently I was able to land a caching mechanism - every task result is being cached. Since ansible doesn’t allow doing such thing easily, it was quite a feat.

Keep reading