library/roles/ckan/ckan/tasks/ckan-plugins.yml: Create a directory with the proper permissions to store the profile logs.

d4science-ghn-cluster/group_vars/ckan_web/ckan_web.yml: Install, but not enable, the profiling plugin on all the CKAN instances.
This commit is contained in:
Andrea Dell'Amico 2017-05-09 19:11:08 +02:00
parent fc2d47e2ef
commit c95e71cc2b
1 changed files with 6 additions and 0 deletions

View File

@ -192,6 +192,12 @@
notify: Restart CKAN
tags: [ 'ckan', 'ckan_profiler', 'ckan_plugins' ]
- name: Create the profiler plugin log directory
become: False
file: dest=/var/log/ckan-profiler owner=www-data group=www-data state=directory
when: ckan_profiler
tags: [ 'ckan', 'ckan_profiler', 'ckan_plugins' ]
become: True
become_user: '{{ ckan_shell_user }}'
tags: [ 'ckan', 'ckan_plugins' ]