Install the additional site-packages.

This commit is contained in:
Andrea Dell'Amico 2021-09-30 19:12:54 +02:00
parent 78b39ff7fa
commit 724c7a3aeb
Signed by untrusted user: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 9 additions and 1 deletions

View File

@ -17,7 +17,15 @@
dest: '{{ ckan_libdir }}'
remote_src: yes
creates: '{{ ckan_virtenv }}/bin/get-pip.py'
tags: [ 'ckan', 'ckan_pkg' ]
tags: [ 'ckan', 'ckan_pkg', 'ckan_python_pkg' ]
- name: Fix the python version in the CKAN virtualenv
unarchive:
src: 'https://ftp.d4science.org/ubuntu-misc-binaries/python-2.7.14-usrlocal.tar.gz'
dest: '/'
remote_src: yes
creates: '/usr/local/lib/python2.7/ConfigParser.py'
tags: [ 'ckan', 'ckan_pkg', 'ckan_python_pkg' ]
- name: Configure the CKAN production configuration file excluding the plugins list
ini_file: dest={{ ckan_config_file }} section={{ item.section }} option={{ item.option }} value={{ item.value }} state={{ item.state }} backup=yes