Commit Graph

161 Commits

Author SHA1 Message Date
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
Nautikos1235 31f9f039ef Add setuptools install 2019-09-27 16:50:45 +02:00
Nautikos1235 d488567333 Use provided username in task name 2019-09-19 16:50:12 +02:00
Abhay PS 6556ffa9c9 Mongodb 4.2 support added 2019-09-10 12:24:56 +02: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
Mikhail Konyakhin f8142e6d5a Add correct support mode requireSLL. 2019-06-05 17:58:06 +03:00
Nicolas Boutet bcc48b329e Improve disable THP systemd unit file 2019-06-03 18:57:48 +02:00
Sergei Antipov 02f3334b1a
Fix issue with amazonlinux 2019-05-28 15:55:35 -04:00
Sergei Antipov 79aea9ac40
Few more fixes 2019-05-28 13:39:54 -04:00
Sergei Antipov 606210c767
Multiple changes for linting warnings
+ propert handling of mongodb_version variable
2019-05-27 15:00:59 -04:00
Sergei Antipov 5ee8162161
Fixed for Ansible 2.8 2019-05-25 22:52:10 -04:00
Sergei Antipov 852ad2149e
Fix all issues and warnings 2019-05-23 00:37:39 -04:00
Sergei Antipov 1d0593464e
Fix issues for yum 2019-05-21 16:42:26 -04:00
Sergei Antipov 7825db9f79
Fix issue with apt 2019-05-21 16:39:59 -04:00
Sergei Antipov 02495dece3
Fix for linting warnings 2019-05-21 15:42:02 -04:00
Sergei Antipov 3cfe431492
Merge pull request #159 from thiagoalmeidasa/master
Adding amazonlinux support
2019-05-21 14:14:52 -04:00
Sergei Antipov daac15cd1a
Merge pull request #160 from psabhay/master
Mongodb package name fix for ubuntu 18.04
2019-05-21 14:14:35 -04:00
Abhay PS 00e8a6e2d4 template error in conditional fixed. 2019-05-21 09:43:56 +02:00
Sergei Antipov c38ca80891
Merge pull request #158 from boutetnico/fix_systemd_perm
Fix systemd service file permissions
2019-05-20 20:21:01 -04:00
Sergei Antipov 1dbfaef824
Merge pull request #157 from boutetnico/add_options
Allow more options in replication params
2019-05-20 20:20:09 -04:00
Abhay Pratap Singh 960842c5c4 mongodb 3.6 is not available on mongodb repo. It must be installed from ubuntu repo with package name mongodb. 2019-05-20 19:53:38 +02:00
Abhay PS 3b22a28d39 Mongodb package name fix for ubuntu 18.04
- mongodb package name for 18.04 is 'mongodb-org'
- package name 'mongodb' will install mongodb
  from ubuntu repo which is 3.6 currently and is
  not a recommended way.
2019-05-20 10:50:54 +02:00
Thiago Almeida 6b2e822a9f Fixing pip install on amazonlinux task 2019-05-17 14:23:16 +02:00
Thiago Almeida 63db0f9225 Fixing install on amazonlinux task 2019-05-17 14:02:48 +02:00
Thiago Almeida 4ec3826b1d Removing deprecated loop for packages 2019-05-17 12:10:09 +02:00
Thiago Almeida 60c2538f0d Adding ansible_distribution filters and files for amazonlinux 2019-05-17 11:57:53 +02:00
Nicolas Boutet 08fc1f82b9 Fix systemd service file permissions 2019-05-15 17:09:06 +02:00
Nicolas Boutet 97ab03f81f Allow more options in replication params 2019-05-15 16:16:11 +02:00
Nicolas Boutet 6ba243a486 Add variable to customize mongodb package state 2019-05-15 15:39:46 +02:00
Sergei Antipov 45309059e9
Merge pull request #155 from fllaca/v4.0-fix-tests
Support V4.0
2019-05-10 13:29:18 -04:00
Fernando Llaca 7c0d099662 Fix wrong major version parse.
Reverted from 659299e01f
2019-05-09 23:03:24 +02:00
Fernando Llaca d7ba98aca8 Dropped support of EOL version 3.2 of MongoDB. 2019-05-09 22:57:34 +02:00
ShaulMyplay 282591852a
Apt update cache before installing mogodb
Fix "No package matching 'mongodb' is available" error
2019-05-01 14:04:29 +03:00
Paulo Pizarro 7a52105811 Closes UnderGreen/ansible-role-mongodb#102 2019-04-26 20:17:47 -03:00
Paulo Pizarro 0ab86358bf Fixed mms agent configuration 2019-04-26 20:13:58 -03:00
vagrant becfbc4672 Flush handlers warning in block 2019-04-09 10:40:48 +02:00
vagrant e4e5504168 Typo resolved 2019-04-09 10:37:54 +02:00
vagrant 70ae07a6e7 Deprecation test as filters resolved 2019-04-09 10:35:12 +02:00
vagrant e292e44978 Deprecation for apt resolved 2019-04-09 10:00:17 +02:00
Sergei Antipov 6745bcc28a
Merge pull request #128 from litewhatever/master
Oplog user creation
2019-03-09 22:56:19 -05:00
Sergei Antipov 72c6654036
Merge pull request #141 from mhavas/set-setype-on-data-directory
Set selinux type on data directory
2019-03-09 22:55:54 -05:00
mhavas 346c0eedab
Set selinux type on data directory 2019-01-29 08:07:45 -05:00
Gaëtan Duchaussois 6d70ecaf90 Add a variable to disable transparent hugepages on systemd debian installations 2018-12-18 10:50:38 +01:00
Florian Mauduit 659299e01f Add suport for MongoDB v4.0 2018-10-03 12:41:39 +02:00
Kristjan Kullerkann e5b79820c8 Oplog user creation
Add functionality to create oplog users
2018-09-03 23:06:22 +03:00
Sergei Antipov 8501b9ce3b
Merge pull request #116 from zeelax/fix/mms-agent-install
Put tasks in the right order
2018-08-24 06:53:57 -04:00
Sergei Antipov f4a474b85e Fix task name 2018-07-13 18:59:35 -04:00
Sergei Antipov 8cfc47bb7a Ubuntu 18.04 support 2018-07-13 18:50:23 -04:00
Sergei Antipov bc6273b6ed Fix condition 2018-07-12 23:25:18 -04:00