35 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Nicolas Boutet
08fc1f82b9 Fix systemd service file permissions 2019-05-15 17:09:06 +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 659299e01fadc831665c0a31f3f7993fa6cc95d5
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
vagrant
becfbc4672 Flush handlers warning in block 2019-04-09 10:40:48 +02:00
vagrant
e292e44978 Deprecation for apt resolved 2019-04-09 10:00:17 +02: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
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
Sergei Antipov
6cf617c771 Added support of MongoDB 3.6 for Debian Stretch 2018-07-12 18:43:56 -04:00
Gaëtan Duchaussois
bd4256da88 Allow user to choose PyMongo version when using pip 2018-06-27 11:57:28 +02:00
Sergei Antipov
0e7c080a30 Fix condition for task 2018-02-23 19:44:46 +07:00
Sergei Antipov
cc1decf1f9 Reload systemd after install 2018-02-23 19:35:03 +07:00
Sergei Antipov
2aa63f5f16 Fix warnings 2018-02-15 13:14:31 +07:00
jsaliba
e034149e2d Resolved conflicts between Daniel White's redhat-support branch and UnderGreen master 2017-09-13 16:26:32 +02:00
Daniel White
b74bade421 Introduce support for RedHat package installation
This provides initial support for installing the relevant MongoDB
packages for a RedHat based OS. This currently only supports RHEL/CentOS
6 in order to keep the initial scope relatively constrained.
2016-05-08 04:17:38 +10:00