Commit 11ad0661 by Filippo Panessa Committed by GitHub

Revert login_database parameter

ansible was upgraded to 2.2.0.0 version on master branch. login_database parameter is now supported
parent 0c078bf7
......@@ -322,6 +322,7 @@
- name: create mongodb users in a replica set
mongodb_user:
database: "{{ item.database }}"
login_database: 'admin'
login_user: "{{ MONGO_ADMIN_USER }}"
login_password: "{{ MONGO_ADMIN_PASSWORD }}"
name: "{{ item.user }}"
......
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