From 9d165c7d89fcd3182a9f91df761ad22662b9f8fd Mon Sep 17 00:00:00 2001 From: caoyuan Date: Sun, 22 Jan 2017 11:32:27 +0800 Subject: [PATCH] Fix mysql database user of ceilometer And fix a typo. Change-Id: Iadfa5efd37a48cd0f23ab375da8fa1b65002fec2 Closes-Bug: #1658392 --- ansible/roles/ceilometer/tasks/bootstrap.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/ceilometer/tasks/bootstrap.yml b/ansible/roles/ceilometer/tasks/bootstrap.yml index 6907c47e93..27be73a440 100644 --- a/ansible/roles/ceilometer/tasks/bootstrap.yml +++ b/ansible/roles/ceilometer/tasks/bootstrap.yml @@ -16,7 +16,7 @@ module_args: login_host: "{{ ceilometer_database_mysql_address }}" login_port: "{{ ceilometer_database_port }}" - login_user: "{{ ceilomter_database_user }}" + login_user: "{{ ceilometer_database_user }}" login_password: "{{ ceilometer_database_password }}" name: "{{ ceilometer_database_name }}" register: mysql_access @@ -61,7 +61,7 @@ - ceilometer_database_type == "mysql" - "'FAILED' in mysql_access.stdout" -# TODO(Jeffrey4l): fix idempotent when ceilomter_database_type == "gnocchi" +# TODO(Jeffrey4l): fix idempotent when ceilometer_database_type == "gnocchi" # NOTE(vbel): bootstrapping of mysql db for ceilometer is idempotent - include: bootstrap_service.yml when: ((ceilometer_database_type == "mongodb" and mongodb_ceilometer_database.changed)