diff --git a/ckan/ckan/tasks/ckan-plugins.yml b/ckan/ckan/tasks/ckan-plugins.yml index 27b46000..b73e6563 100644 --- a/ckan/ckan/tasks/ckan-plugins.yml +++ b/ckan/ckan/tasks/ckan-plugins.yml @@ -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' ]