Fix a wrong task syntax

This commit is contained in:
Andrea Dell'Amico 2023-06-26 10:30:35 +02:00
parent 97fd440a40
commit dbb6b63f4b
Signed by untrusted user: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 5 additions and 4 deletions

View File

@ -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