Commit Graph

1671 Commits

Author SHA1 Message Date
Andrea Dell'Amico b1c9dd9ead Run the acme.sh cron job as root. 2018-09-13 19:51:17 +02:00
Andrea Dell'Amico 0d37228a63 Fix the check used to decide if run the mongodb certificate hook. 2018-09-13 11:41:41 +02:00
Andrea Dell'Amico 88d1f3ab72 Run the hook only if the mongodb.pem file does not exist. 2018-09-12 19:04:46 +02:00
Andrea Dell'Amico 303cb3a1e5 Run the hook script immediately after installing it to generate the pem file for the mongodb server. 2018-09-12 19:00:01 +02:00
Andrea Dell'Amico 44ac051834 acme-sh: fix the unattended scripts. They failed to fix the permissions, so the certificate renewal would fail. 2018-09-12 16:59:48 +02:00
Andrea Dell'Amico e6d4dcfe93 library/roles/mongodb-org/templates/mongod-3.0.conf.j2: Add a template configuration for mongo 3.0. 2018-09-12 12:38:14 +02:00
Andrea Dell'Amico 11a5262fe3 mongodb roles: Remove the obsolete ones. Now we have one role to install any mongodb 3.x version. See https://support.d4science.org/issues/12461 2018-09-12 12:25:02 +02:00
Andrea Dell'Amico f993dee88c Install a letsencrypt acmetool hook script when mongodb's certificates are managed by letsencrypt. See https://support.d4science.org/issues/12448 2018-09-11 17:37:10 +02:00
Andrea Dell'Amico 4a127ac136 Add variables and configuration to manage TLS on the mongodb server. See https://support.d4science.org/issues/12450 2018-09-11 17:12:04 +02:00
Andrea Dell'Amico 3cd806d2b6 Remove the obsolete ganglia configuration for the mongodb plugin 2018-09-11 17:11:00 +02:00
Andrea Dell'Amico a994495806 Role that installs the parse service. 2018-09-07 19:24:59 +02:00
Andrea Dell'Amico 567d6564d5 library/roles/node_js: Do not install npm, it's part of the nodejs package. Do not install the devel staff. 2018-09-07 18:17:12 +02:00
Andrea Dell'Amico 13d8864f80 library/roles/nginx/templates/nginx-server-ssl.conf.j2: Fix the syntax of a comparison. 2018-09-07 18:16:45 +02:00
Andrea Dell'Amico 71b64563a7 library/roles/nginx/defaults/main.yml: Compatibility fix for the apt module. 2018-09-07 16:48:10 +02:00
Andrea Dell'Amico ddb811faf6 library/roles/mongodb-org-3.2: Another gpg key. 2018-09-07 16:43:44 +02:00
Andrea Dell'Amico b71253c4af library/roles/mongodb-org-3.2: Fix the repository gpg key, it changed. 2018-09-07 16:42:22 +02:00
Luca Frosini 38db7ed0a9 Fixed playbooks to use orientdb version 2.2.36 2018-09-06 11:14:54 +02:00
Luca Frosini 807443f3b4 Upgrading orientdb to 2.2.36 2018-09-06 10:29:10 +02:00
Andrea Dell'Amico f3d6128ff8 Role that installs node.js with npm and optionally yarn 2018-09-05 19:09:21 +02:00
Andrea Dell'Amico 5398dfe38d Configure /etc/hosts on pure xen only. 2018-09-05 17:02:15 +02:00
Luca Frosini cfb54c3123 Updated 'default-distributed-db-config.json' tempalte to try to solve
the issue which does not remove the offline servers
2018-09-05 16:37:17 +02:00
Andrea Dell'Amico 3aa25d88a0 Remove some unused tasks. 2018-09-05 10:52:36 +02:00
Andrea Dell'Amico 1f3564b491 Introduce the new variable smartgears_force_remove_state and a task that removes the local state. 2018-09-05 10:52:36 +02:00
Andrea Dell'Amico 5a6206d79d library/roles/R/templates/Rprofile.site.j2: Set the R locale inherithing the system one. See https://support.d4science.org/issues/12227 2018-09-04 17:32:14 +02:00
Andrea Dell'Amico 71d08bafe7 library/roles/letsencrypt-acmetool-client/defaults/main.yml: Fix the logging options. 2018-09-03 20:30:04 +02: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 eb2d0fd3e3 shibbolet SP role. Some tasks and configuration templates still missing. 2018-08-29 16:25:34 +02:00
Andrea Dell'Amico 4e66797358 Only install the modules packages on Ubuntu Trusty 2018-08-29 16:23:57 +02:00
Andrea Dell'Amico e3f9ea4803 Fixed the letsencrypt hook for orientdb. 2018-08-28 12:02:29 +02:00
Andrea Dell'Amico 29a751eb22 library/roles/letsencrypt-acme-sh-client/tasks/main.yml: Always try to execute a certificate issue when the env file changes, otherwise domains additions cannot be handled. 2018-08-20 23:42:36 +02:00
Andrea Dell'Amico 794b2f3c06 Add the path of the git distribution. 2018-08-20 23:42:36 +02:00
Andrea Dell'Amico a6368ff167 Install git if we use it to download and install acme.sh. Install the git distribution into its own subdirectory. 2018-08-20 23:42:36 +02:00
Andrea Dell'Amico dd2b1e1648 letsencrypt acme.sh role. 2018-08-20 23:42:35 +02:00
Andrea Dell'Amico a5f0c611b7 Cleanup the basic pki tasks. Add support for acme.sh 2018-08-20 23:42:35 +02:00
Andrea Dell'Amico 708f8027ef Adapt the haproxy role so that it supports both letsencrypt acmetool and acme.sh 2018-08-20 23:42:35 +02:00
Andrea Dell'Amico c35ab07597 Fix the ckan-connector-fixer script, the ckan_connector user did not have admin rights. 2018-08-18 13:50:54 +02:00
Andrea Dell'Amico 7a67ba48d2 Refactor: change 'state=installed' with 'state=present' everywhere. 2018-08-09 18:52:55 +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 bd69071947 Refactor: include: ==> import_tasks: 2018-08-09 17:48:03 +02:00
Andrea Dell'Amico 35a3336f2d Change some labels. 2018-08-07 12:45:19 +02:00
Andrea Dell'Amico 8ddf7dd9d9 Role that installs the grsf_api service 2018-08-06 19:49:25 +02:00
Andrea Dell'Amico 0a9281e047 Fix some naming. 2018-08-06 19:49:25 +02:00
Andrea Dell'Amico 55471f7021 Role that installs the GRSF services updater 2018-08-06 19:49:25 +02:00
Andrea Dell'Amico 380f0f3310 library/roles/geonetwork/geonetwork/tasks/main.yml: Create webapps/geonetwork before unpacking the distribution. 2018-08-03 18:57:23 +02:00
Andrea Dell'Amico 4901a70b5c library/roles/smartgears/smartgears/tasks/install-gcube-keys.yml: Install the keys as root and then change permissions. 2018-08-03 18:30:47 +02:00
Andrea Dell'Amico 296afdf738 Fix a path. 2018-08-03 17:18:11 +02:00
Andrea Dell'Amico cc375e74ee Fix the key directory permissions. 2018-08-03 17:18:02 +02:00
Andrea Dell'Amico 186fe446cc Fix the ckan_connector_fixer. It is not interactive anymore. 2018-08-02 16:05:09 +02:00
Roberto Cirillo 26f12b74ee ../library/roles/geonetwork/geonetwork/tasks/main.yml fix geonetwork_app_name variable (lower case added) 2018-08-01 16:32:16 +02:00
Andrea Dell'Amico 6bb719b96e Other changes to the smtp configuration (it still refuses to work). Fix the volume mount. 2018-08-01 12:17:46 +02:00