forked from ISTI-ansible-roles/ansible-role-ckan
Fix a wrong task syntax
This commit is contained in:
parent
97fd440a40
commit
dbb6b63f4b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue