diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-06-25 21:08:57 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-06-25 21:08:57 +0300 |
commit | edbfba17bcc06e1e75d08a55119cf006476546fc (patch) | |
tree | 546a4815c18b8befe19b920f40239daeffb2ede8 | |
parent | af0612aab990fe00839143bb7c209bba59eda4ad (diff) | |
download | ick2-ansible-edbfba17bcc06e1e75d08a55119cf006476546fc.tar.gz |
Change: clean up APT incoming directory on error
Otherwise it needs sysadmin to log in and clean up manually.
-rw-r--r-- | roles/apt_repository/templates/incoming | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/apt_repository/templates/incoming b/roles/apt_repository/templates/incoming index 75ad722..548c44b 100644 --- a/roles/apt_repository/templates/incoming +++ b/roles/apt_repository/templates/incoming @@ -1,4 +1,5 @@ Name: default IncomingDir: incoming TempDir: tmp +Cleanup: on_error Allow: {% for dist in apt_distributions %} {{ dist.codename }} {% endfor %} |