From ff39429d9bb0eb6d2eb69b493b237f1a7e6624cd Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 26 Nov 2018 17:21:52 +0100 Subject: [PATCH] library/roles/ckan/ckan/defaults/main.yml: Defaults for the ckan memcache configuration. --- ckan/ckan/defaults/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ckan/ckan/defaults/main.yml b/ckan/ckan/defaults/main.yml index d3360a11..668812a5 100644 --- a/ckan/ckan/defaults/main.yml +++ b/ckan/ckan/defaults/main.yml @@ -86,6 +86,11 @@ ckan_google_analytics_name: googleanalytics ckan_google_analytics_url: 'git+https://github.com/ckan/ckanext-googleanalytics.git#egg=ckanext-googleanalytics' ckan_google_analytics_fixed_file: 'http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-catalogue/ckan-d4science-extension/{{ ckan_version }}/ckan-default/plugins/googleanalytics/plugin.py' +ckan_memcache_sessions: False +ckan_memcache_ini_opts: + - { section: 'app:main', option: 'beaker.session.type', value: 'ext:memcached', state: 'present' } + - { section: 'app:main', option: 'beaker.session.url ', value: "{{ mc_ipaddress | default('127.0.0.1') }}:{{ mc_port | default('11211') }}", state: 'present' } + # Google analytics reports ckan_ga_reports: False ckan_ga_reports_name: ga-report