Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handler mongodb restart using mongod for mongodb-org package #190

Open
fabianochagas opened this issue Nov 13, 2019 · 0 comments
Open

Handler mongodb restart using mongod for mongodb-org package #190

fabianochagas opened this issue Nov 13, 2019 · 0 comments

Comments

@fabianochagas
Copy link

The restart mongodb handler is not working. It is currently giving the following error.

fatal: [mongo03]: FAILED! => {"changed": false, "msg": "Could not find the requested service mongod: host"}
fatal: [mongo01]: FAILED! => {"changed": false, "msg": "Could not find the requested service mongod: host"}

The problem is that I am using mongodb_package: mongodb-org which makes the daemon name mongodb and not mongod.

I am currently setting my vars.yml as follows:

  • mongodb_package: mongodb-org

and due to the error mentioned above, I ahd
mongodb_daemon_name: mongodb

Is this something that can be addressed from within the role?

We're currently using:

  • version 2.6.0 of this role
  • ansible 2.8.5
  • Ubuntu 16.04 LTS
  • MongoDB 3.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant