Cleaning up Ansible's .retry files from your home directory


By default, whenever Ansible fails it will put a .retry file into your home directory.

Personally I never found this useful and the location was less than ideal.


You can either turn the feature off all together by using the Ansible config setting retry_files_enabled  or you can change the directory with retry_files_save_path.

When I was cleaning up my own settings I noticed these options were not actually documented when the feature was first introduced, so I added the documentation myself with this Ansible pull request on Github.