Fix the panko_database_port for panko

Change-Id: I85c43b65112cdc74c0974a52fa60dcb4aa944359
Closes-Bug: #1658893
This commit is contained in:
caoyuan 2017-01-24 14:05:54 +08:00
parent 7f3d7a30d9
commit fed2b13dda

View File

@ -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 }}"
####################