]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ansible: Disable timeout on tmp{watch,reaper} 1758/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 4 Mar 2021 13:45:14 +0000 (08:45 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 4 Mar 2021 13:45:14 +0000 (08:45 -0500)
commit2ff841817ccac2b1d83300aa50ac332b9d689c1f
tree5ed0b6d77197227864dcd862f1b83f924251976d
parenta3533db365b5d6deb5d9a55aeee8b49fc58f8e4f
ansible: Disable timeout on tmp{watch,reaper}

From the man page:

```
       -T x, --runtime=x
              Execution of tmpreaper will aborted after x seconds; this is to prevent attacks that create many, many files.  By default the timeout is set to 55 seconds.  A value of 0 will disable this feature, which is not advised as this feature prevents possible
              race-conditions between different instances of tmpreaper.
```

So tmpreaper wasn't running for the past week since I set this up because there was so much to clean up that it'd time out.  These are Jenkins builders where the primary user already has sudo access so there's no real use to locking down tmpreaper.

Signed-off-by: David Galloway <dgallowa@redhat.com>
ansible/examples/slave.yml