Interview Prep/Ansible/Rapid-Fire Commands

How do you resume a playbook from a specific task or step through it?

BeginnerProductionRapid-Fire Commands
Answer
ansible-playbook site.yml --start-at-task "Deploy application config"
ansible-playbook site.yml --step     # confirm each task: (y)es / (n)o / (c)ontinue

--start-at-task skips everything before the named task, including tasks that register variables later tasks need, so use it carefully. It does not work with tasks inside include_* that has not been reached yet.

All Ansible questions Roadmap: Ansible

More on Rapid-Fire Commands