1. 程式人生 > >How do you stop Ansible from creating .retry files in the home directory?

How do you stop Ansible from creating .retry files in the home directory?

files Go director cfg home reat fault int true

There are two options that you can add to the [defaults] section of the ansible.cfg file that will control whether or not .retry files are created and where they are created.

[defaults]
...
retry_files_enabled = True  # Create them - the default
retry_files_enabled = False # Do not create them

retry_files_save_path = "~/" # The directory they will go into
                             # (home directory by default)

How do you stop Ansible from creating .retry files in the home directory?