Commit Graph

1932 Commits

Author SHA1 Message Date
Roberto Cirillo 8b0ce7e61c add logrotate_management variable 2018-09-20 12:41:02 +02:00
Roberto Cirillo 06fc023dd0 add option bindip 2018-09-20 12:39:07 +02:00
Roberto Cirillo b782b42c34 add mongodb_bind variable 2018-09-20 12:11:10 +02:00
Roberto Cirillo 7461a4ee48 moved task Install/Update the mongodb configuration in a separated task 2018-09-20 12:01:31 +02:00
Roberto Cirillo 53af684ceb add mongodb_ssl_letsencrypt_ca_dir and mongodb_log_management variables 2018-09-20 11:58:34 +02:00
Roberto Cirillo 7c30f39124 add mongodb_ssl_letsencrypt_ca_dir variable 2018-09-20 11:18:38 +02:00
Andrea Dell'Amico 6a0878dd9a mongodb: Download and place the letsencrypt CA into the system. mongodb wants exactly one CA. 2018-09-19 17:41:37 +02:00
Andrea Dell'Amico cef10792a0 library/roles/tomcat/defaults/main.yml: installed -> present as the package state. 2018-09-18 16:25:50 +02:00
Roberto Cirillo 31ddd5b12b fix grsf_publisher_ws_ver variable wrong name 2018-09-18 10:41:58 +02:00
Andrea Dell'Amico df3cab437f library/roles/yii/meta/main.yml: Add the yii dependencies. 2018-09-17 15:48:14 +02:00
Andrea Dell'Amico 2d6676df50 Various fixes to support debian 9. 2018-09-16 13:51:34 +02:00
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