Ivan Bogović

Home / Ansible Safety Pack

freeAnsible Safety Pack

Keep one bad commit from reaching every host at once

Three guard rails for Ansible repos

Download — freeMIT licensed

The problem

Ansible runs every task on every host in parallel by default, so one wrong template variable hits the whole fleet in a minute. Add noisy "changed" results, lying changed_when: false and mystery variable precedence, and a repo with no safety net is easy to break.

What it does

What's in the box

Usage

ansible-playbook -i inventory playbooks/rolling_update.yml \
  -e rollout_apply_tasks=tasks/apply.yml \
  -e 'rollout_verify_command="resolvectl query example.com"' \
  -e '{"rollout_serial":[1,"10%","50%"]}'
bin/vars-doctor -i inventory/lab.yml r29 ansible_user
bin/vars-doctor --cheatsheet

Requirements

Limitations / what it is not

FAQ

What is the license?

MIT. Free to use, modify and share.

Is it free? Yes. No payment is involved.

How do I get support?

By email: [email protected].

Where it came from

Written up on the blog first:

Download — freeMIT licensed

Tested Lab-tested

Product version1.0.1
Last run2026-11-24
Result (install and tests)PASS
PlatformsDebian 13 container; Docker-based demo hosts

What was tested, and how

Not tested

Method and lab setup: How we test.