Example of creating an Arch Linux container with Ansible
Created by: miquecg
I'm doing a small project for myself that uses an Ansible role to create an Arch Linux container from the monthly bootstrap tarball. It also initializes pacman inside the container. There are few pending tasks yet, like reducing the size of the final image. Probably I'll borrow your exclude file as an example.
Maybe you can find this approach interesting. Of course there are many different ways of building images. Good things about Ansible are idempotency, platform independent modules, templating or variables/facts, but of course it's a complex tool on its own. What do you think?