Show HN: testing Ansible playbooks *fast* (github.com)

2 points by lucasluitjes ↗ HN
Testing ansible playbooks against local VMs is nice. But also pretty slow. I was wondering how far I could optimize that process while still having full reproducibility.

rebuild.sh makes a fresh Ubuntu installation, runs an ansible playbook to install Caddy and configures it, and uses curl to verify that Caddy is running correctly.

$ time ./rebuild.sh

[...]

real 0m11.664s

user 0m0.789s

sys 0m0.925s

0 comments

[ 0.24 ms ] story [ 11.6 ms ] thread

No comments yet.