diff --git a/tasks/ckan-plugins.yml b/tasks/ckan-plugins.yml index 72daa42..e25d95d 100644 --- a/tasks/ckan-plugins.yml +++ b/tasks/ckan-plugins.yml @@ -200,17 +200,18 @@ pip: name='{{ ckan_oai_pm_url }}' virtualenv={{ ckan_virtenv }} state=present editable=True when: ckan_oai_pm | bool notify: Restart CKAN - tags: [ 'ckan', 'ckan_oai_pm', 'ckan_plugins' ] + tags: ['ckan', 'ckan_oai_pm', 'ckan_plugins'] - name: Download the CKAN google analytics plugin python requirements pip: name='genshi' virtualenv={{ ckan_virtenv }} state=present when: ckan_google_analytics | bool notify: Restart CKAN - tags: [ 'ckan', 'ckan_google_analytics', 'ckan_plugins' ] + tags: ['ckan', 'ckan_google_analytics', 'ckan_plugins'] - name: Force the removal of the CKAN Google Analytics plugin code - file: /usr/lib/ckan/default/src/ckanext-googleanalytics - state: absent + file: + path: /usr/lib/ckan/default/src/ckanext-googleanalytics + state: absent when: - ckan_google_analytics | bool - ckan_force_google_analytics_upgrade