diff --git a/ckan/ckan/tasks/ckan-memcache.yml b/ckan/ckan/tasks/ckan-memcache.yml index 1ee93b16..95dfe3d6 100644 --- a/ckan/ckan/tasks/ckan-memcache.yml +++ b/ckan/ckan/tasks/ckan-memcache.yml @@ -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