Fix mysql database user of ceilometer
And fix a typo. Change-Id: Iadfa5efd37a48cd0f23ab375da8fa1b65002fec2 Closes-Bug: #1658392
This commit is contained in:
parent
ee2ce24eef
commit
9d165c7d89
@ -16,7 +16,7 @@
|
|||||||
module_args:
|
module_args:
|
||||||
login_host: "{{ ceilometer_database_mysql_address }}"
|
login_host: "{{ ceilometer_database_mysql_address }}"
|
||||||
login_port: "{{ ceilometer_database_port }}"
|
login_port: "{{ ceilometer_database_port }}"
|
||||||
login_user: "{{ ceilomter_database_user }}"
|
login_user: "{{ ceilometer_database_user }}"
|
||||||
login_password: "{{ ceilometer_database_password }}"
|
login_password: "{{ ceilometer_database_password }}"
|
||||||
name: "{{ ceilometer_database_name }}"
|
name: "{{ ceilometer_database_name }}"
|
||||||
register: mysql_access
|
register: mysql_access
|
||||||
@ -61,7 +61,7 @@
|
|||||||
- ceilometer_database_type == "mysql"
|
- ceilometer_database_type == "mysql"
|
||||||
- "'FAILED' in mysql_access.stdout"
|
- "'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
|
# NOTE(vbel): bootstrapping of mysql db for ceilometer is idempotent
|
||||||
- include: bootstrap_service.yml
|
- include: bootstrap_service.yml
|
||||||
when: ((ceilometer_database_type == "mongodb" and mongodb_ceilometer_database.changed)
|
when: ((ceilometer_database_type == "mongodb" and mongodb_ceilometer_database.changed)
|
||||||
|
Loading…
Reference in New Issue
Block a user