aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database
diff options
context:
space:
mode:
authorbaigk <baiguoku@huawei.com>2015-08-14 21:28:53 -0400
committerbaigk <baiguoku@huawei.com>2015-08-17 21:59:16 -0400
commit444407f6ff854b9a3dfa5c7ad50e4ac6495ed9fd (patch)
treed6a1f4faecf1350c7fe7e9c725447965c3c3f6c9 /deploy/adapters/ansible/roles/database
parentade17ce57eb08dbf262cb9b6f1893367e2832dc1 (diff)
Neutron-related role in the compass-adapter should use the same template file
JIRA: COMPASS-8 Change-Id: Ia7c2dc8d90a025950f84fdb92383be85e82f0cde Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/database')
-rw-r--r--deploy/adapters/ansible/roles/database/tasks/mysql.yml2
-rw-r--r--deploy/adapters/ansible/roles/database/vars/Debian.yml4
2 files changed, 3 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/roles/database/tasks/mysql.yml b/deploy/adapters/ansible/roles/database/tasks/mysql.yml
index 809d6172..9e272d1b 100644
--- a/deploy/adapters/ansible/roles/database/tasks/mysql.yml
+++ b/deploy/adapters/ansible/roles/database/tasks/mysql.yml
@@ -7,7 +7,7 @@
file: path=/var/log/mysql state=directory owner=mysql group=mysql mode=0755
- name: update mysql config file
- copy: src= {{ item }} dest={{ mysql_config_file_path }}/{{ item }} backup=yes
+ copy: src={{ item }} dest={{ mysql_config_file_path }}/{{ item }} backup=yes
with_items: mysql_config_file_name
- name: manually restart mysql server
diff --git a/deploy/adapters/ansible/roles/database/vars/Debian.yml b/deploy/adapters/ansible/roles/database/vars/Debian.yml
index 5c014b4b..79f7008c 100644
--- a/deploy/adapters/ansible/roles/database/vars/Debian.yml
+++ b/deploy/adapters/ansible/roles/database/vars/Debian.yml
@@ -9,12 +9,12 @@ maridb_packages:
- libssl0.9.8
- mysql-client-5.5
- python-mysqldb
- - mysql-server-wsrep
+ - mysql-wsrep-server
- galera
services: []
mysql_config_file_path: "/etc/mysql"
-mysql_config_file_name: "my.cnf"
+mysql_config_file_name: ["my.cnf"]
wsrep_config_file_path: "/etc/mysql/conf.d"
wsrep_provider_file: "/usr/lib/galera/libgalera_smm.so"