Settings

Theme

Show HN: testing Ansible playbooks *fast*

github.com

2 points by lucasluitjes a month ago · 0 comments · 1 min read

Reader

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

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection