aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/database/tasks')
-rwxr-xr-xdeploy/adapters/ansible/roles/database/tasks/mongodb_config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/database/tasks/mongodb_config.yml b/deploy/adapters/ansible/roles/database/tasks/mongodb_config.yml
index e3a68c55..3e7fe5f7 100755
--- a/deploy/adapters/ansible/roles/database/tasks/mongodb_config.yml
+++ b/deploy/adapters/ansible/roles/database/tasks/mongodb_config.yml
@@ -30,7 +30,7 @@
- name: create mongodb user and db
mongodb_user:
- login_host: "{{ internal_ip }}"
+ login_host: "{{ internal_vip.ip }}"
database: ceilometer
name: ceilometer
password: "{{ CEILOMETER_DBPASS }}"
@@ -39,7 +39,7 @@
- name: grant user privilege
mongodb_user:
- login_host: "{{ internal_ip }}"
+ login_host: "{{ internal_vip.ip }}"
database: ceilometer
name: ceilometer
password: "{{ CEILOMETER_DBPASS }}"