Commit Graph

470 Commits

Author SHA1 Message Date
Sergei Antipov e3b6b7577f
Merge pull request #198 from sportsru/fix_handlers_and_systemd_unit
Fix handlers and systemd unit, speed up tests
2020-01-04 19:36:31 -05:00
Mikhail Konyakhin 26f5b616d8 Update data format in tests and one run for all hosts in MongoDB cluster
in tests.
2019-12-27 13:43:00 +03:00
Mikhail Konyakhin d0bacd7cd2 Split replication configuration without auth to fix first run ansible
on all hosts in MongoDB cluster in same time.
2019-12-27 13:40:19 +03:00
Mikhail Konyakhin 1fa78ca6da Add docker container proxy for cache packages of yum, apt and pip repos. 2019-12-26 17:34:49 +03:00
Mikhail Konyakhin d21c149fdf Update .gitignore. 2019-12-26 17:34:24 +03:00
Mikhail Konyakhin f8981d7c45 Update docker files and bind python version. 2019-12-21 23:02:35 +03:00
Mikhail Konyakhin bb8ad9e555 Add ansible profiler of tasks for tests. 2019-12-21 15:54:25 +03:00
Mikhail Konyakhin 6a38960fe6 Add mitogen and enable pipelining in tests. 2019-12-21 15:53:21 +03:00
Mikhail Konyakhin 56af8c7e9b Remove not needed conditions from handlers. 2019-12-21 15:52:35 +03:00
Mikhail Konyakhin 0b50bcc867 Fix systemd unit file for mongodb and add manage limits. 2019-12-21 12:38:07 +03:00
Sergei Antipov b842529d7b
Merge pull request #197 from sportsru/fix_disable-transparent-hugepages
Fix disable transparent hugepages
2019-12-20 11:01:33 -05:00
Mikhail Konyakhin 3682288151 Merge branch 'master' into fix_disable-transparent-hugepages 2019-12-20 13:56:04 +03:00
Sergei Antipov fa9b716b21
Merge pull request #196 from sportsru/fix_log_permissions
Fix log permissions
2019-12-19 16:52:43 -05:00
Mikhail Konyakhin 1676d32ddf Merge branch 'master' into fix_disable-transparent-hugepages 2019-12-19 22:58:39 +03:00
Mikhail Konyakhin 151c906a3a Merge branch 'master' into fix_log_permissions 2019-12-19 22:22:37 +03:00
Sergei Antipov 2a966ecf87
Merge pull request #191 from sportsru/manage_unit_systemd
Add flag 'mongodb_manage_systemd_unit' for disable manage systemd unit file of MongoDB
2019-12-19 11:19:59 -05:00
Mikhail Konyakhin 79269de800 Update formating and fix tests. 2019-12-14 16:01:12 +03:00
Mikhail Konyakhin fc41e73edf Merge branch 'master' of https://github.com/UnderGreen/ansible-role-mongodb into manage_unit_systemd 2019-12-13 16:43:53 +03:00
Sergei Antipov c582f8abf3
Merge pull request #193 from UnderGreen/update-3.6-support-matrix
Update 3.6 version info in support matrix
2019-12-12 12:18:43 -05:00
Sergei Antipov 9622975db9
Merge pull request #188 from hyeoksuhan/master
Fix README.md file. Support MongoDB 4.2 as default.
2019-12-12 12:16:28 -05:00
Sergei Antipov 1594656b4b
Merge pull request #194 from YoranSys/patch-1
Fix typo authomation -> automation
2019-12-12 12:16:03 -05:00
YoranSys 14c691b905
Fix typo authomation -> automation 2019-12-12 15:29:01 +01:00
Paulo Pizarro a132bff57e Update 3.6 version info in support matrix 2019-12-10 15:26:53 -03:00
Mikhail Konyakhin db328011d5 Fix unit file of disable-transparent-hugepages and fix all time change status. 2019-11-25 14:02:26 +03:00
Mikhail Konyakhin 1c128e7590 Fix permissions of log directory and file of MongoDB. 2019-11-25 13:20:19 +03:00
Mikhail Konyakhin 137e4f1f2a Add flag 'mongodb_manage_systemd_unit' for disable manage systemd unit
file of MongoDB.
2019-11-25 12:54:21 +03:00
hshan c68216a46b Add yum_lock_timeout to avoid "yum lockfile is held by another process" error 2019-11-01 19:30:14 +09:00
hshan 5b9c94b4ce Fix README.md file. Support MongoDB 4.2 as default. 2019-11-01 18:57:09 +09:00
Sergei Antipov 4632f4b909
Merge pull request #184 from nautikos1235/fix-handlers
Fixed handlers yaml format
2019-10-27 19:24:29 -07:00
Nautikos1235 d43a5ce078 Fixed handlers yaml format 2019-10-18 09:43:04 +02:00
Sergei Antipov d72cf36385
Merge pull request #181 from nautikos1235/missing-backup-user
Add backup user in readme
2019-09-28 07:17:42 -07:00
Sergei Antipov 8f5a9d4990
Merge pull request #183 from nautikos1235/add-setuptools-install
Add setuptools install
2019-09-28 07:17:25 -07:00
Nautikos1235 31f9f039ef Add setuptools install 2019-09-27 16:50:45 +02:00
Nautikos1235 1308809028 Add backup user in readme 2019-09-23 10:12:08 +02:00
Sergei Antipov 73d8c977ba
Merge pull request #177 from nautikos1235/fix-user-names
Use provided username in task name
2019-09-21 10:05:31 -07:00
Nautikos1235 d488567333 Use provided username in task name 2019-09-19 16:50:12 +02:00
Sergei Antipov ec2f2f3961
Merge pull request #176 from psabhay/master
Mongodb 4.2 Support
2019-09-12 18:20:42 -07:00
Abhay PS b15ffeef4d Fix README file. Used wrong icon for non-support OS version 2019-09-11 12:06:03 +02:00
Abhay PS 75e2616f23 Readme file update with 4.2 support details. 2019-09-11 11:50:45 +02:00
Abhay PS 63af4a6f21 remove unsupported os versions from test. 2019-09-10 14:54:36 +02:00
Abhay PS 6556ffa9c9 Mongodb 4.2 support added 2019-09-10 12:24:56 +02:00
Sergei Antipov 196c796ef9
Merge pull request #169 from proact-de/missing-daemon-reload
Ensure the systemd file is created under the correct name on Debian/Ubuntu
2019-06-14 11:25:06 -04:00
Patrick Dreker b6b99e33ff Ensure the systemd file is created under the
correct name

When installing mongodb-org packages on Debian/Ubuntu the daemon name is
set to "mongod" but the .service file is unconditionally installed as
"mongodb.service". This PR ensures, that the systemd file (and the
accompanying symlink) are installed as "mongodb_dameon_name.service".
Otherwise installation fails with
fatal: [tmongo-02]: FAILED! => {"changed": false, "msg": "Could not find the requested service mongod: host"}
for every host, as the handler tries to restart mongod, but systemd only
sees mongodb
2019-06-14 15:10:03 +02:00
Sergei Antipov eb1c8e682c
Merge pull request #168 from sportsru/fix_requireSSL
Add correct support mode requireSSL.
2019-06-06 12:10:54 -04:00
Sergei Antipov 2c5a3abc28
Merge pull request #167 from sportsru/fix_init_template
Fix init template
2019-06-05 11:37:18 -04:00
Mikhail Konyakhin f8142e6d5a Add correct support mode requireSLL. 2019-06-05 17:58:06 +03:00
Mikhail Konyakhin ede0d25175 Fix init template. 2019-06-05 14:25:32 +03:00
Sergei Antipov e5caa291b5
Merge pull request #166 from boutetnico/thp
Avoid errors when disabling THP
2019-06-03 23:27:45 -04:00
Sergei Antipov 343c5f659d
Merge pull request #165 from boutetnico/free_monitoring
Add option to configure free monitoring
2019-06-03 13:20:15 -04:00
Nicolas Boutet bcc48b329e Improve disable THP systemd unit file 2019-06-03 18:57:48 +02:00