library/roles/ckan/ckan: Fix a problem with the CKAN plugins dependencies.

d4science-ghn-cluster: CKAN web frontends for BlueBridge and SoBigData.
This commit is contained in:
Andrea Dell'Amico 2016-07-14 16:12:19 +02:00
parent ae8283094a
commit 96a35c2cc6
2 changed files with 7 additions and 1 deletions

View File

@ -56,7 +56,7 @@ ckan_ldap_prevent_edits: True
ckan_ldap_fallback: True
# Needed to install some CKAN plugins
additional_packages:
ckan_additional_packages:
- git
- libxslt1-dev
- gcc

View File

@ -1,4 +1,10 @@
---
- name: Install some packages dependencies
apt: name={{ item }} state=latest update_cache=yes
with_items: '{{ ckan_additional_packages }}'
when: ckan_geonetwork_harvester
tags: [ 'ckan', 'geonetwork', 'ckan_plugins', 'ckan_pip_deps' ]
- name: Install some plugins dependencies inside the CKAN virtualenv
become: True
become_user: '{{ ckan_shell_user }}'