Open DavidWittman opened 10 years ago
@bennojoy Would you mind weighing in here?
If this is checked out via ansible-galaxy, the path would need to be ../../bennojoy.mongo_mongod/files/secret
Additionally, it would be nice if this file was dynamically generated, rather than included in the role, such that we all share the same key.
What is the intended location for the source of the keyfile? It looks like it should be pulled from the mongod role based on the following task:
https://github.com/bennojoy/mongo_mongoc/blob/master/tasks/main.yml#L64-L65
But, for this to be correct, I would think the src would instead need to be
../../mongo_mongod/files/secret
. It makes sense that the three roles (mongod, mongoc, mongos) each share the same key, but I'm not sure what the intended result is based on this specific task.