From bbf118b836332573247b0c1fb765c6906b630782 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 21 Nov 2018 15:37:12 +0100 Subject: [PATCH] library/roles/ckan/ckan/tasks/ckan-memcache.yml: Remove the sessions subdirectory only. --- ckan/ckan/tasks/ckan-memcache.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/ckan/tasks/ckan-memcache.yml b/ckan/ckan/tasks/ckan-memcache.yml index 1ee93b1..95dfe3d 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