Commit 25ff591f by Kevin Falcone

Without this, users with a password of "pass word" fail

It turns it into key/value arguments to the ansible module, causing
hilarious failures.
parent 09845ad3
......@@ -157,7 +157,7 @@
login_user={{ MONGO_ADMIN_USER }}
login_password={{ MONGO_ADMIN_PASSWORD }}
name={{ item.user }}
password={{ item.password }}
password="{{ item.password }}"
roles={{ item.roles }}
state=present
with_items: MONGO_USERS
......@@ -169,7 +169,7 @@
login_user={{ MONGO_ADMIN_USER }}
login_password={{ MONGO_ADMIN_PASSWORD }}
name={{ item.user }}
password={{ item.password }}
password="{{ item.password }}"
roles={{ item.roles }}
state=present
replica_set={{ mongo_repl_set }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment