Skip to content

Commit

Permalink
Fixed replication init
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Antipov committed Jun 25, 2015
1 parent 8cc2c18 commit 5dc2d56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/replication_init_auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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 }}"
Expand Down

0 comments on commit 5dc2d56

Please sign in to comment.