Set a version for the google analytics plugin.

This commit is contained in:
Andrea Dell'Amico 2021-09-17 15:41:02 +02:00
parent 006154020d
commit de7dbcb509
Signed by untrusted user: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 7 additions and 1 deletions

View File

@ -69,6 +69,7 @@ ckan_oai_pm_state: absent
ckan_google_analytics: False
ckan_ga_plugin_state: '{{ ckan_plugins_state }}'
ckan_google_analytics_name: googleanalytics
ckan_google_analytics_version: 'v2.0.4'
#CKANEXT-RATING
ckan_star_ratings: False
ckan_star_ratings_state: present

View File

@ -203,7 +203,12 @@
tags: [ 'ckan', 'ckan_google_analytics', 'ckan_plugins' ]
- name: Download the CKAN google analytics plugin
pip: name='{{ ckan_google_analytics_url }}' virtualenv={{ ckan_virtenv }} editable=true state={{ ckan_ga_plugin_state }}
pip:
name: '{{ ckan_google_analytics_url }}'
virtualenv: '{{ ckan_virtenv }}'
editable: true
state: '{{ ckan_ga_plugin_state }}'
version: '{{ ckan_google_analytics_version }}'
when: ckan_google_analytics | bool
register: install_ckan_google_analytics
notify: Restart CKAN