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:
parent
fc2d47e2ef
commit
c95e71cc2b
|
@ -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' ]
|
||||
|
|
Loading…
Reference in New Issue