From dbb6b63f4bd2ea42fb869385b5d544ae02d2c3e0 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 26 Jun 2023 10:30:35 +0200 Subject: [PATCH] Fix a wrong task syntax --- tasks/ckan-plugins.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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