library/roles/ckan/ckan/tasks/ckan-memcache.yml: Remove the sessions subdirectory only.

This commit is contained in:
Andrea Dell'Amico 2018-11-21 15:37:12 +01:00
parent 98ed47284a
commit bbf118b836
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
tags: [ 'ckan', 'ckan_ini', 'ckan_plugins', 'ckan_sessions', 'ckan_memcache' ]
- name: Remove the CKAN session files
file: dest=/tmp/{{ ckan_site_id }} state=absent
file: dest=/tmp/{{ ckan_site_id }}/sessions state=absent
become: False
when: ckan_memcache_sessions is defined and ckan_memcache_sessions