Rename variables

mysql_host -> database_host
mysql_user -> database_user
mysql_password -> database_password

Please also see the following pull requests:
https://github.com/hpcloud-mon/ansible-monasca-thresh/pull/19
https://github.com/hpcloud-mon/ansible-monasca-api/pull/43
https://github.com/hpcloud-mon/ansible-monasca-notification/pull/23

Change-Id: I1d18b8290cceefe339e1b5260804ff241a8a5a98
This commit is contained in:
Witold Bedyk 2015-11-12 08:48:40 +01:00
parent 40d62e3f49
commit b77ac15b69
2 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ kafka_hosts: "{{mini_mon}}:9092"
kafka_listen_address: "{{mini_mon}}" kafka_listen_address: "{{mini_mon}}"
kafka_heap_opts: "-Xmx256m" kafka_heap_opts: "-Xmx256m"
keystone_host: "{{devstack}}" keystone_host: "{{devstack}}"
mysql_host: "{{mini_mon}}" database_host: "{{mini_mon}}"
nimbus_host: "{{mini_mon}}" nimbus_host: "{{mini_mon}}"
percona_package: percona-xtradb-cluster-56 percona_package: percona-xtradb-cluster-56
smtp_host: localhost smtp_host: localhost

View File

@ -57,21 +57,21 @@
- {role: monasca-api, - {role: monasca-api,
influxdb_user: mon_api, influxdb_user: mon_api,
influxdb_password: password, influxdb_password: password,
mysql_user: monapi, database_user: monapi,
mysql_password: password, database_password: password,
tags: [api]} tags: [api]}
- {role: monasca-persister, - {role: monasca-persister,
influxdb_user: mon_persister, influxdb_user: mon_persister,
influxdb_password: password, influxdb_password: password,
tags: [persister]} tags: [persister]}
- {role: monasca-notification, - {role: monasca-notification,
mysql_user: notification, database_user: notification,
mysql_password: password, database_password: password,
tags: [notification]} tags: [notification]}
- {role: storm, storm_nimbus_enabled: true, storm_supervisor_enabled: true, tags: [storm]} - {role: storm, storm_nimbus_enabled: true, storm_supervisor_enabled: true, tags: [storm]}
- {role: monasca-thresh, - {role: monasca-thresh,
mysql_user: thresh, database_user: thresh,
mysql_password: password, database_password: password,
tags: [thresh]} tags: [thresh]}
- {role: monasca-agent, tags: [agent]} - {role: monasca-agent, tags: [agent]}