Commit Graph

54 Commits

Author SHA1 Message Date
Andrea Dell'Amico 4a4af42f19 CKAN: reload the service immediately after the switch to memcache backed sessions. 2018-11-26 17:42:28 +01:00
Andrea Dell'Amico ff39429d9b library/roles/ckan/ckan/defaults/main.yml: Defaults for the ckan memcache configuration. 2018-11-26 17:21:52 +01:00
Andrea Dell'Amico bbf118b836 library/roles/ckan/ckan/tasks/ckan-memcache.yml: Remove the sessions subdirectory only. 2018-11-21 15:37:12 +01:00
Andrea Dell'Amico 98ed47284a Configure CKAN to use memcached for its sessions. Must set a variable to enable the feature. See https://support.d4science.org/issues/12827 2018-11-20 19:41:53 +01:00
Andrea Dell'Amico acb64b5cc1 Remove the warning related to the use of 'remote_user' inside a playbook. 2018-08-31 14:51:59 +02:00
Andrea Dell'Amico 07ebea657c Refactor: fix all the 'when: variable is changed' occurrencies. 2018-08-09 18:48:09 +02:00
Andrea Dell'Amico f7128a5c8b aginfra CKAN configuration. 2018-06-25 19:23:45 +02:00
Andrea Dell'Amico 3d701dd46e CKAN: fix the tasks that use pip with github. 2018-03-25 18:58:31 +02:00
Andrea Dell'Amico 958b14c896 library/roles/ckan/ckan/tasks/ckan-plugins.yml: notify a restart when the google analytics plugin is upgraded. 2018-02-22 18:16:31 +01:00
Andrea Dell'Amico 1433b6d427 library/roles/ckan/ckan/tasks/ckan-plugins.yml: Add 'editable=true' to the google analytics pip task. 2018-02-22 17:39:52 +01:00
Andrea Dell'Amico aa23f1b46c library/roles/ckan/ckan: Fix the google analytics task, for real. 2018-02-22 17:30:28 +01:00
Andrea Dell'Amico 221fbfad07 library/roles/ckan/ckan/tasks/ckan-plugins.yml: google analytics plugin, do not install our version anymore. Optionally install the latest version setting the variable 'ckan_ga_plugin_state' to 'latest'. 2018-02-22 16:52:59 +01:00
Andrea Dell'Amico 24221e2849 library/roles/ckan/ckan/defaults/main.yml: Fix the subversion URL of the google analytics plugin fix. See https://support.d4science.org/issues/10857 2018-01-16 17:58:09 +01:00
Andrea Dell'Amico 99b4bfb8ab New tasks for the OAI-PMH plugin. 2017-07-24 18:34:01 +02:00
Andrea Dell'Amico 7c840aec0b library/roles/ckan/ckan: Also restart the gather and fetcher processes when the configuration changes. 2017-06-09 13:16:40 +02:00
Andrea Dell'Amico bef922d176 library/roles/ckan/ckan: do not update the installed plugins by default. 2017-06-07 18:31:43 +02:00
Andrea Dell'Amico c6891126e5 library/roles/ckan/ckan/tasks/ckan-plugins.yml: Do not init the db when installing certaing plugins, if the DB is already configured. 2017-06-07 17:24:42 +02:00
Andrea Dell'Amico ad08241d76 library/roles/ckan, library/roles/smartgears/ckan_connector: Now it is possible to choose to not initialize the database and create the admin user. 2017-06-07 16:30:35 +02:00
Andrea Dell'Amico c95e71cc2b library/roles/ckan/ckan/tasks/ckan-plugins.yml: Create a directory with the proper permissions to store the profile logs.
d4science-ghn-cluster/group_vars/ckan_web/ckan_web.yml: Install, but not enable, the profiling plugin on all the CKAN instances.
2017-05-09 19:12:15 +02:00
Andrea Dell'Amico 88a3dc0bcf library/roles/ckan/ckan/defaults/main.yml: Fix the ckan-profiler URL. 2017-05-09 17:11:48 +02:00
Andrea Dell'Amico dbe15e6f04 library/roles/ckan/ckan: Task that optionally installs the CKAN profiler plugin 2017-05-09 17:11:48 +02:00
Andrea Dell'Amico 0b75f0e3ef library/roles/ckan/ckan/defaults/main.yml: Add the python modules ndg-httpsclient pyasn1 2017-05-05 13:18:24 +02:00
Andrea Dell'Amico 66ce320d6f library/roles/ckan/ckan/defaults/main.yml: add xmltodict to the pip modules.
d4science-ghn-cluster/group_vars/ckan_prod/ckan_prod.yml: Install the ckan-dcat module in production.
2017-05-03 21:28:46 +02:00
Andrea Dell'Amico 58aa726c57 library/roles/ckan/ckan/tasks/ckan.yml: Change strategy to decide if the DB needs to be initialized. 2017-04-06 10:24:40 +02:00
Andrea Dell'Amico ae815241d3 library/roles/ckan/ckan: we need to manage two additional plugins, see https://support.d4science.org/issues/7324 and https://support.d4science.org/issues/7441
d4science-ghn-cluster/group_vars/ckan_dev/ckan_dev.yml: Enable the dcat and geoview plugins on CKAN dev.
2017-03-16 17:46:45 +01:00
Andrea Dell'Amico 70d8e79776 library/roles/ckan: Add a variable to store the supervisor fetch and gather app names.
d4science-ghn-cluster/roles/ckan: Add a handler to restart the gather and fetcher processes. See https://support.d4science.org/issues/7028
2017-02-09 12:16:37 +01:00
Andrea Dell'Amico 768d408ae6 library/roles/ckan/ckan/defaults/main.yml: Add additional python libraries. 2017-02-01 11:42:28 +01:00
Andrea Dell'Amico b46ffd1f52 library/roles/ckan/ckan: Fix the google analytics plugin installation.
d4science-ghn-cluster: Setup the google analytics plugin for all the CKAN production instances.
2016-11-29 19:22:43 +01:00
Andrea Dell'Amico f7f909249f library/roles/ckan/ckan: Manage the installation of the GA report plugin.
d4science-ghn-cluster:  CKAN dev: install the GA report plugin.
2016-11-21 15:40:36 +01:00
Andrea Dell'Amico 597bb36aa4 library/roles/ckan/ckan: Add a couple of plugins. See https://support.d4science.org/issues/5807 and https://support.d4science.org/issues/5806 2016-11-21 15:40:36 +01:00
Andrea Dell'Amico ceedd93a0e library/roles/ckan: Fix the SQLalchemy version, because the newest is not supported by the spatial plugin.
d4science-ghn-cluster: ckan dev, do not install the hierarchy changes.
2016-11-16 15:31:23 +01:00
Andrea Dell'Amico d486f997d2 library/roles/ckan/ckan/defaults/main.yml: Change the default ckan version to 2.6. 2016-11-16 13:33:38 +01:00
Andrea Dell'Amico 81361612bd d4science-ghn-cluster: CKAN: do not install the pages and lire plugins. 2016-10-14 17:46:56 +02:00
Andrea Dell'Amico 887975c3f3 library/roles/ckan: Modify the wsgi configuration to pass the correct http protocol headers to the application.
d4science-ghn-cluster: ckan, fix the nginx templates and cleanup some of the tasks.
2016-10-14 16:47:17 +02:00
Andrea Dell'Amico 309bf1e15c library/roles/solr-tomcat-instance/tasks/main.yml: Add some labels.
library/roles/ckan/ckan-solr/tasks/main.yml: Add some labels.
d4science-ghn-cluster/group_vars/ckan*: Fix the definitions for the new CKAN GRSF instance.
2016-09-20 15:53:44 +02:00
Andrea Dell'Amico cf2128c092 d4science-ghn-cluster/group_vars/ckan_dev/all.yml: Enable the CKAN harvester on the dev instance.
library/roles/ckan/ckan: Set the /var/lib/ckan permissions.
2016-08-05 15:33:44 +02:00
Andrea Dell'Amico 159fcdbac2 library/roles/ckan/ckan: Add support for the LIRE plugin. More python modules are needed. 2016-08-05 12:11:40 +02:00
Andrea Dell'Amico 8ad2341f65 library/roles/ckan/ckan/defaults/main.yml: Cleanup some typos.
library/roles/fusiondirectory: Install the fusiondirectory required schemas.
2016-07-19 17:57:45 +02:00
Francesco Mangiacrapa 939169002a Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks
Merge with files from ckan-d-d4s
2016-07-19 13:02:36 +02:00
Francesco Mangiacrapa 8ae5518df0 Added configurations for Spatial Search widget to main.yml
Merged files with ckan-d-d4s.d4science.org
2016-07-19 12:58:20 +02:00
Andrea Dell'Amico 96a35c2cc6 library/roles/ckan/ckan: Fix a problem with the CKAN plugins dependencies.
d4science-ghn-cluster: CKAN web frontends for BlueBridge and SoBigData.
2016-07-14 16:12:19 +02:00
Andrea Dell'Amico 3618084819 d4science-ghn-cluster: CKAN, fixes to the smartgears/ckan-connector installation.
library/roles/smartgears/ckan_connector: New version, fix the upgrade phase.
library/roles/solr-tomcat-instance: Configure a multicore instance when requested.
2016-07-13 19:04:28 +02:00
Andrea Dell'Amico d1f1f5c7a0 d4science-ghn-cluster: Install a licenses file on the ckan application server and configure the application to use it. 2016-06-28 16:37:50 +02:00
Andrea Dell'Amico 44b444fdc0 library/roles/smartgears/ckan_connector: Role that installs and configures a ckan-connector service.
d4science-ghn-cluster: Add the ckan-connector variables to the ckan production services.
2016-06-24 18:42:41 +02:00
Andrea Dell'Amico 66caef7db1 library/roles/ckan/ckan: Lot of modifications so that the playbooks are able to install CKAN with the services distributed on different machines.
library/roles/postgresql/tasks: Fix the SSL certificates paths.
2016-06-21 23:24:48 +02:00
Andrea Dell'Amico fc3c424df1 library/roles/ckan/ckan: Insert the plugins list into the CKAN configuration as the last step.
d4science-ghn-cluster/group_vars/ckan_prod/ckan_prod.yml: The production portals need to access the CKAN db
2016-06-21 18:10:15 +02:00
Andrea Dell'Amico 25045f9606 library/roles/ckan/ckan: Move some files and tasks to the role inside d4science-ghn-cluster. 2016-06-20 18:57:06 +02:00
Andrea Dell'Amico 4358e9fc3a library/roles/ckan: Split the role in 'ckan' and 'ckan-solr' because solr can run on a different host. 2016-06-18 16:06:16 +02:00
Andrea Dell'Amico 41a279eff2 library/roles/ckan/defaults/main.yml: the ldap plugin wants python-ldap installed by pip. 2016-05-05 13:04:05 +02:00
Andrea Dell'Amico 37541e3126 d4science-ghn-cluster/roles/ckan: Handle ssl (letsencrypt).
library/roles/ckan: Fix the indexer cron job. Add support for running the gather and fetcher processes as daemons. Tasks to install the ldap plugin.
2016-04-27 16:45:09 +02:00