Fixed replication init

This commit is contained in:
Sergei Antipov 2015-06-25 17:33:19 +06:00
parent 8cc2c1830c
commit 5dc2d566c7

View File

@ -2,7 +2,7 @@
- name: Replication configuration
mongodb_replication:
login_host: "{{ mongodb_conf_bind_ip|default('localhost') }}"
login_host: "{{ mongodb_login_host|default('localhost') }}"
login_port: "{{ mongodb_conf_port|default(27017) }}"
login_user: "{{ mongodb_root_admin_name }}"
login_password: "{{ mongodb_root_admin_password }}"
@ -20,7 +20,7 @@
- name: Replication configuration
mongodb_replication:
login_host: "{{ mongodb_conf_bind_ip|default('localhost') }}"
login_host: "{{ mongodb_login_host|default('localhost') }}"
login_port: "{{ mongodb_conf_port|default(27017) }}"
login_user: "{{ mongodb_root_admin_name }}"
login_password: "{{ mongodb_root_admin_password }}"