Moved jinja variables outside the if block for cases where a single mongodb is being used and not a cluster.
Moved jinja variables outside the if block for cases where a single mongodb is being used and not a cluster.

mitodl/mongodb-formula,mitodl/mongodb-formula,mitodl/mongodb-formula