Add directories to tmpreaper without overwriting the defaults.

This commit is contained in:
Andrea Dell'Amico 2020-12-07 15:56:58 +01:00
parent 9dad2511bd
commit 6e53da4a33
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ disks_and_mountpoints_list: []
tmpreaper_install: False tmpreaper_install: False
tmpreaper_protect_extra: '' tmpreaper_protect_extra: ''
tmpreaper_dirs: '/tmp/.' tmpreaper_dirs: '/tmp/.'
tmpreaper_extra_dirs: ''
tmpreaper_delay: '256' tmpreaper_delay: '256'
tmpreaper_additional_options: '' tmpreaper_additional_options: ''
tmpreaper_time: '7d' tmpreaper_time: '7d'

View File

@ -1,7 +1,7 @@
# #
TMPREAPER_TIME={{ tmpreaper_time }} TMPREAPER_TIME={{ tmpreaper_time }}
TMPREAPER_PROTECT_EXTRA='{{ tmpreaper_protect_extra }}' TMPREAPER_PROTECT_EXTRA='{{ tmpreaper_protect_extra }}'
TMPREAPER_DIRS='{{ tmpreaper_dirs }}' TMPREAPER_DIRS='{{ tmpreaper_dirs }} {{ tmpreaper_extra_dirs }}'
TMPREAPER_DELAY='{{ tmpreaper_delay }}' TMPREAPER_DELAY='{{ tmpreaper_delay }}'
TMPREAPER_ADDITIONALOPTIONS='{{ tmpreaper_additional_options }}' TMPREAPER_ADDITIONALOPTIONS='{{ tmpreaper_additional_options }}'