Fixed authorization
This commit is contained in:
parent
d25113e8fa
commit
e3c477a4ee
|
@ -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 }}",
|
||||||
|
|
Loading…
Reference in New Issue