Andrea Dell'Amico
3d747a953c
Fix the acmetool letsencrypt hook for the mongod service. See https://support.d4science.org/issues/13157
2019-01-16 13:54:13 +01:00
Andrea Dell'Amico
cdffa72f6e
library/roles/mongodb-org/vars/main.yml: Stick with RSA key certificates for the mongo service.
2018-12-20 12:40:47 +01:00
Andrea Dell'Amico
56bd3194ac
Install the root + letsencrypt CA file, without downloading them from remote.
2018-10-01 15:41:54 +02:00
Andrea Dell'Amico
e05ee8d07e
Add both the Root CA and the intermediate one into the mongodb CAfile.
2018-09-26 16:41:33 +02:00
Roberto Cirillo
871d540340
removed unuseful variable mongodb_update_conf
2018-09-26 10:00:50 +02:00
Andrea Dell'Amico
1f5f775ae2
Use the Root letsencrypt CA certificate. See https://support.d4science.org/issues/12443#note-16
2018-09-25 20:05:53 +02:00
Roberto Cirillo
6cfef59871
add condition on security field of configuration file
2018-09-25 11:46:33 +02:00
Roberto Cirillo
4fd6347352
add default value for mongodb_authorization_enabled
2018-09-25 11:45:44 +02:00
Roberto Cirillo
8982588b30
fix mongodb-authentication_enabled variable name
2018-09-24 09:53:21 +02:00
Roberto Cirillo
3470e08eb6
added new variable for authentication
2018-09-20 18:05:14 +02:00
Roberto Cirillo
1de375b3ff
removed variable mongodb_http_port
2018-09-20 15:39:46 +02:00
Roberto Cirillo
3b1bffc0a7
removed mongodb_bind condition
2018-09-20 14:59:09 +02:00
Roberto Cirillo
9f5a75e0c3
removed mongo_bind variable, merged *_ca_dir and *cert_dir variables
2018-09-20 14:57:53 +02:00
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
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
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
bd69071947
Refactor: include: ==> import_tasks:
2018-08-09 17:48:03 +02:00
Andrea Dell'Amico
7581a03035
library/roles/mongodb-org/defaults/main.yml: Document the use of --setParameter newCollectionsUsePowerOf2Sizes=false
2016-04-19 19:08:41 +02:00
Andrea Dell'Amico
1dfc4a8a79
dnet-openaire/mongodb.yml: Migrate to version 3.2 from 2.4.
...
library/roles/mongodb-org-3.2: Support to upgrade from version 3.0. Fix the repo installation.
library/roles/mongodb-org-3/tasks/mongodb.yml: Fix the repository installation.
library/roles/mongodb-org/tasks/mongodb.yml: Fix the repository installation.
library/roles/mongodb/tasks/main.yml: Fix the repository installation.
2016-03-25 18:04:45 +01:00
Andrea Dell'Amico
d8d226a5f2
library/roles/mongodb-org/tasks/mongodb.yml: Some cleanup.
2016-03-24 19:35:34 +01:00
Andrea Dell'Amico
3428052604
library/roles/mongodb-org/defaults/main.yml: /etc/default/mongod is now a template.
...
dnet-openaire/inventory/hosts: node7.t.openaire is not used anymore.
dnet-openaire/inventory/hosts.stdl: The project ended.
2016-03-24 15:41:14 +01:00
Andrea Dell'Amico
1f77909502
d4science-ghn-cluster/group_vars/mongo_cluster_prod/ganglia.yml: ganglia cluster for the mongodb prod.
...
library/roles/mongodb-org: Install the specific ganglia plugin if ganglia monitoring is enabled.
library/roles/couchdb: Install the specific ganglia plugin if ganglia monitoring is enabled.
2015-11-23 20:16:04 +01:00
Andrea Dell'Amico
f73e24e32b
d4science-ghn-cluster: Fix the mongo variables for the mongo_cluster_prod group.
...
dnet-eagle: New mongodb server.
library/roles/mongodb-org: Fix the mongod template. It had fixed paths, now they are all managed by variables.
library/roles/redmine: Remove the rules for not working plugins.
2015-11-19 18:10:24 +01:00
Tommaso Piccioli
9d6d22dd3f
.
2015-10-13 16:32:41 +02:00
Tommaso Piccioli
10d1d837bd
new mongodb 2.6 config file
2015-10-13 15:20:02 +02:00
Tommaso Piccioli
feed2ac442
.
2015-10-13 15:10:16 +02:00
Tommaso Piccioli
4170cef4b2
mongodb service now called mongod
2015-10-13 14:21:13 +02:00
Tommaso Piccioli
fba1189ca8
new mongodb-org version (mongdob-org 2.6.11i from mongo 10gen repository)
2015-10-13 13:51:19 +02:00