Fixed authorization

This commit is contained in:
Sergei Antipov 2015-03-03 11:21:25 +06:00
parent d25113e8fa
commit e3c477a4ee
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@
password: "{{ item.password }}" password: "{{ item.password }}"
roles: "{{ item.roles }}" roles: "{{ item.roles }}"
login_host: 127.0.0.1 login_host: 127.0.0.1
login_user: "{{ mongodb_user_admin_name }}"
login_password: "{{ mongodb_user_admin_password }}"
with_items: with_items:
- { - {
name: "{{ mongodb_root_admin_name }}", name: "{{ mongodb_root_admin_name }}",