From fed2b13dda6f4f1b900a44f2c172e7c6ba0e20f9 Mon Sep 17 00:00:00 2001 From: caoyuan Date: Tue, 24 Jan 2017 14:05:54 +0800 Subject: [PATCH] Fix the panko_database_port for panko Change-Id: I85c43b65112cdc74c0974a52fa60dcb4aa944359 Closes-Bug: #1658893 --- ansible/roles/panko/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/panko/defaults/main.yml b/ansible/roles/panko/defaults/main.yml index 4986300410..7bdc968805 100644 --- a/ansible/roles/panko/defaults/main.yml +++ b/ansible/roles/panko/defaults/main.yml @@ -7,7 +7,7 @@ project_name: "panko" panko_database_name: "panko" panko_database_user: "panko" panko_database_port: "{{ mongodb_port if panko_database_type == 'mongodb' else database_port }}" -panko_database_mongodb_address: "{% for host in groups['mongodb'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ pankor_database_port }}{% if not loop.last %},{% endif %}{% endfor %}" +panko_database_mongodb_address: "{% for host in groups['mongodb'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ panko_database_port }}{% if not loop.last %},{% endif %}{% endfor %}" panko_database_mysql_address: "{{ kolla_internal_fqdn }}" ####################