Fix panko database creation

The mariadb port information may not be passed in login_host and
login_port.

Change-Id: I15522de345a27ffc4773f00c38c8f0216d103c40
Closes-bug: #1759568
This commit is contained in:
Mathias Ewald 2018-03-28 15:17:03 +02:00
parent 5e2814a139
commit a486364611

View File

@ -13,8 +13,8 @@
kolla_toolbox: kolla_toolbox:
module_name: mysql_db module_name: mysql_db
module_args: module_args:
login_host: "{{ panko_database_mysql_address }}" login_host: "{{ database_address }}"
login_port: "{{ panko_database_port }}" login_port: "{{ database_port }}"
login_user: "{{ database_user }}" login_user: "{{ database_user }}"
login_password: "{{ database_password }}" login_password: "{{ database_password }}"
name: "{{ panko_database_name }}" name: "{{ panko_database_name }}"
@ -29,8 +29,8 @@
kolla_toolbox: kolla_toolbox:
module_name: mysql_user module_name: mysql_user
module_args: module_args:
login_host: "{{ panko_database_mysql_address }}" login_host: "{{ database_address }}"
login_port: "{{ panko_database_port }}" login_port: "{{ database_port }}"
login_user: "{{ database_user }}" login_user: "{{ database_user }}"
login_password: "{{ database_password }}" login_password: "{{ database_password }}"
name: "{{ panko_database_user }}" name: "{{ panko_database_user }}"