
By default, ansible stores its temporary files in `$HOME/.ansible/tmp`. This causes many files to be created on target device's internal flash memory on every ansible run (even if run with --check or if there are no changes), wearing it unnecessarily. This commit changes default remote_tmp location to a directory mounted in RAM as tmpfs, so that the flash memory is not touched unless there is actual change in device's configuration.
1 line
72 B
YAML
1 line
72 B
YAML
ansible_remote_tmp: "/tmp/ansible" # Reduce flash wear on target device
|