Interview Prep/Ansible/Rapid-Fire Commands

How do you preview changes on one host before a full rollout?

BeginnerProductionRapid-Fire Commands
Answer
ansible-playbook site.yml --check --diff --limit web01
ansible-playbook site.yml --diff --limit web01        # real change, still showing diffs

Check one canary host first, then the real run on that host, then the rest. Tasks with no_log or binary files will not show diffs.

All Ansible questions Roadmap: Ansible

More on Rapid-Fire Commands