From a486364611c3daa676798b1ebe15208e55634863 Mon Sep 17 00:00:00 2001 From: Mathias Ewald Date: Wed, 28 Mar 2018 15:17:03 +0200 Subject: [PATCH] Fix panko database creation The mariadb port information may not be passed in login_host and login_port. Change-Id: I15522de345a27ffc4773f00c38c8f0216d103c40 Closes-bug: #1759568 --- ansible/roles/panko/tasks/bootstrap.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/roles/panko/tasks/bootstrap.yml b/ansible/roles/panko/tasks/bootstrap.yml index fdfc5b16de..3512d818e0 100644 --- a/ansible/roles/panko/tasks/bootstrap.yml +++ b/ansible/roles/panko/tasks/bootstrap.yml @@ -13,8 +13,8 @@ kolla_toolbox: module_name: mysql_db module_args: - login_host: "{{ panko_database_mysql_address }}" - login_port: "{{ panko_database_port }}" + login_host: "{{ database_address }}" + login_port: "{{ database_port }}" login_user: "{{ database_user }}" login_password: "{{ database_password }}" name: "{{ panko_database_name }}" @@ -29,8 +29,8 @@ kolla_toolbox: module_name: mysql_user module_args: - login_host: "{{ panko_database_mysql_address }}" - login_port: "{{ panko_database_port }}" + login_host: "{{ database_address }}" + login_port: "{{ database_port }}" login_user: "{{ database_user }}" login_password: "{{ database_password }}" name: "{{ panko_database_user }}"