diff --git a/roles/nuancier/tasks/main.yml b/roles/nuancier/tasks/main.yml index 1291511543..faea9cb91f 100644 --- a/roles/nuancier/tasks/main.yml +++ b/roles/nuancier/tasks/main.yml @@ -13,6 +13,7 @@ - python-psycopg2 - python-openid-cla - python-openid-teams + - python-memcached tags: - packages diff --git a/roles/nuancier/templates/nuancier-lite.cfg b/roles/nuancier/templates/nuancier-lite.cfg index 6ed97d6aeb..f2be484279 100644 --- a/roles/nuancier/templates/nuancier-lite.cfg +++ b/roles/nuancier/templates/nuancier-lite.cfg @@ -43,4 +43,12 @@ CACHE_FOLDER = os.path.join(STATIC_FOLDER, 'cache') ### length or width of the picture fit the length and width specified below. THUMB_SIZE = (256, 256) +# This is required to fix login in stg PREFERRED_URL_SCHEME='https' + +# dogpile.cache configuration to work with memcached +NUANCIER_CACHE_BACKEND = 'dogpile.cache.memcached' +NUANCIER_CACHE_KWARGS = {'arguments' : { + 'url': "127.0.0.1:11211", + } +}