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
..
2019-05-28 13:39:54 -04:00
2019-05-28 15:55:35 -04:00
2019-05-28 13:39:54 -04:00
2019-06-05 17:58:06 +03:00
2019-05-21 15:42:02 -04:00