1 Commits

Author SHA1 Message Date
Artem Goncharov
3a46e29141 Fix cache dir flooding when running from /tmp
Ansible invokes modules with executable placed under /tmp. This
causes stevedore caching to create bazillions of useless cache files.
When we can identify we run with executable under /tmp or if in the
target cache directory an empty file '.disable' is present - skip
writing cache.

Change-Id: Ic483ac68027505402ba32d7f612631e15a678d09
2020-09-14 16:06:14 +02:00