retry file
A file Ansible can write after a failed run listing the hosts that failed, so you can rerun against just those.
In more detail
Setting retry_files_enabled = False, which is the default in recent versions, keeps these files from cluttering the project. Rerunning the whole playbook is safe anyway when tasks are idempotent.
Related terms
- ansible.cfg — Ansible's INI-format settings file; a copy in the project directory sets options such as the inventory location and forks for everyone who runs there.
- idempotency — The property of an operation that gives the same result whether you run it once or many times, because a repeat run finds nothing left to do.
Taught in
- Ansible Architecture And The Control Node — Ansible Configuration Management at Scale
- Performance, Forks And Best Practices — Ansible Configuration Management at Scale
- ansible-navigator: The Settings File The Exam Reads — RHCE in Ansible (EX294): Automate Red Hat Systems