ansible-role-ckan/vars/main.yml

100 lines
4.1 KiB
YAML

---
ckan_deb_file: 'python-ckan_{{ ckan_version }}-{{ ansible_distribution_release }}_amd64.deb'
ckan_package_url: 'http://packaging.ckan.org/{{ ckan_deb_file }}'
ckan_libdir: /usr/lib/ckan
ckan_confdir: /etc/ckan/default
ckan_virtenv: '{{ ckan_libdir }}/default'
ckan_file_harvesting_dir: /var/lib/ckan
ckan_file_storage_dir: '{{ ckan_file_harvesting_dir }}/dev'
ckan_config_file: '{{ ckan_confdir }}/production.ini'
ckan_webapp_port: 8080
ckan_solr_port: 8983
ckan_shell_user: ckan
ckan_logdir: /var/log/ckan
ckan_ckanext_harvester_url: 'git+https://github.com/ckan/ckanext-harvest.git#egg=ckanext-harvest'
ckan_ckanext_spatial_url: 'git+https://github.com/okfn/ckanext-spatial.git@{{ ckanext_spatial_version }}#egg=ckanext-spatial'
ckan_geonetwork_harvester_url: 'https://github.com/geosolutions-it/ckanext-geonetwork.git'
ckan_geoview_url: ckanext-geoview
ckan_geoview_name: resource_proxy
ckan_dcat_url: 'git+https://github.com/ckan/ckanext-dcat.git#egg=ckanext-dcat'
ckan_dcat_1_0_0_url: 'git+https://github.com/ckan/ckanext-dcat.git@v1.0.0#egg=ckanext-dcat'
ckan_hierarchy_url: 'git+https://github.com/datagovuk/ckanext-hierarchy.git#egg=ckanext-hierarchy'
ckan_pages_url: 'git+https://github.com/ckan/ckanext-pages.git#egg=ckanext-pages'
ckan_ldap_url: 'https://github.com/NaturalHistoryMuseum/ckanext-ldap'
ckan_ckanext_lire_url: 'https://github.com/milicp/ckanext-lire.git'
ckan_oai_pmh_url: 'git+https://github.com/kata-csc/ckanext-oaipmh#egg=ckanext-oaipmh'
ckan_oai_pmh_kata_plugin_url: 'git+https://github.com/kata-csc/ckanext-kata.git#egg=ckanext-kata'
ckan_oai_pmh_kata_ini_options:
- { section: 'app:main', option: 'kata.storage.malware_scan', value: 'false', state: '{{ ckan_oai_pmh_kata_ini_state }}' }
- { section: 'app:main', option: 'kata.ldap.enabled', value: 'false', state: '{{ ckan_oai_pmh_kata_ini_state }}' }
- { section: 'app:main', option: 'kata.disable_contact', value: 'true', state: '{{ ckan_oai_pmh_kata_ini_state }}' }
ckan_oai_pm_url: 'git+https://github.com/florenthemmi/ckanext-oaipmh#egg=ckanext-oaipm'
#ckan_google_analytics_url: 'git+https://github.com/ckan/ckanext-googleanalytics.git@{{ ckan_google_analytics_version }}#egg=ckanext-googleanalytics'
ckan_google_analytics_url: 'git+https://code-repo.d4science.org/CKAN-Extensions/ckanext-googleanalytics_v2.0.7_GA4#egg=ckanext-googleanalytics'
ckan_google_analytics_fixed_file: 'http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-catalogue/ckan-d4science-extension/{{ ckan_version }}/ckan-default/plugins/googleanalytics/plugin.py'
ckan_star_ratings_url: 'git+https://github.com/6aika/ckanext-rating.git#egg=ckanext-rating'
ckan_memcache_deb_pkgs:
- libmemcached10
- libmemcached-dev
ckan_memcache_ini_opts:
- { section: 'app:main', option: 'beaker.session.type', value: 'ext:memcached', state: 'present' }
- { section: 'app:main', option: 'beaker.session.url ', value: "{{ mc_ipaddress | default('127.0.0.1') }}:{{ mc_port | default('11211') }}", state: 'present' }
ckan_ga_reports_name: ga-report
ckan_ga_reports_url: 'git+https://github.com/datagovuk/ckanext-ga-report.git#egg=ckanext-ga-report'
ckan_profiler_url: 'git+https://github.com/morty/ckanext-profile.git#egg=ckanext-profile'
ckan_datesearch_name: datesearch
ckan_datesearch_url: 'https://github.com/EUDAT-B2FIND/ckanext-datesearch'
# Required to install some CKAN plugins
ckan_additional_packages:
- git
- libxslt1-dev
- gcc
- python-dev
- libffi-dev
- libxml2-dev
- zlib1g-dev
- libxslt1-dev
- libgeos-c1
- libldap2-dev
- libsasl2-dev
- libssl-dev
ckan_pip_dependencies:
- lxml
- factory
- python-ldap
- rdflib
- 'urllib3[secure]'
- bleach
- certifi
- xmltodict
- pyasn1
- enum
- ipaddress
- x509
ckan_pip_versioned_dependencies:
- { name: 'SQLAlchemy', version: '0.9.6', state: 'present' }
- { name: 'cryptography', version: '2.8', state: 'present' }
- { name: 'pyOpenSSL', version: '19', state: 'present' }
- { name: 'idna', version: '2.9', state: 'present' }
#
apache_additional_packages:
- libapache2-mod-uwsgi
- libpq5
apache_additional_modules:
- uwsgi
ckan_gather_fetch_pkgs:
- supervisor
ckan_gather_fetch_apps:
- ckan_gather_consumer
- ckan_fetch_consumer