summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database/vars
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2016-03-01 17:50:10 +0800
committerJustin chi <chigang@huawei.com>2016-03-14 03:09:02 +0000
commit9710824c31c7e3b41d482e68ae790b46dc0513bb (patch)
tree94fc7da83d99ff33e6325265be04754d2d1de6f9 /deploy/adapters/ansible/roles/database/vars
parent9418c59bf42d7f7c0348580e372a7ca5ddbbb1d8 (diff)
maker mariadb playbook reentrant
JIRA: COMPASS-329 Change-Id: I02680fe271f3896dc901a67c043570449fd3d64e Signei-off-by: carey.xu <carey.xuhan@huawei.com> Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/database/vars')
-rw-r--r--deploy/adapters/ansible/roles/database/vars/Debian.yml5
-rw-r--r--deploy/adapters/ansible/roles/database/vars/RedHat.yml5
2 files changed, 8 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/database/vars/Debian.yml b/deploy/adapters/ansible/roles/database/vars/Debian.yml
index 2eefc703..621dc492 100644
--- a/deploy/adapters/ansible/roles/database/vars/Debian.yml
+++ b/deploy/adapters/ansible/roles/database/vars/Debian.yml
@@ -30,10 +30,13 @@ services: []
mongodb_service: mongodb
mysql_config:
- dest: /etc/mysql/my.cnf
- src: my_debian.cnf
+ src: my.cnf
- dest: /etc/mysql/conf.d/wsrep.cnf
src: wsrep.cnf
+mysql_config_dir: /etc/mysql/conf.d
+mysql_data_dir: /var/lib/mysql
+
mongodb_config:
dest: /etc/mongodb.conf
src: mongodb.conf
diff --git a/deploy/adapters/ansible/roles/database/vars/RedHat.yml b/deploy/adapters/ansible/roles/database/vars/RedHat.yml
index fe2d3f0a..aed1ac98 100644
--- a/deploy/adapters/ansible/roles/database/vars/RedHat.yml
+++ b/deploy/adapters/ansible/roles/database/vars/RedHat.yml
@@ -31,10 +31,13 @@ mongodb_service: mongod
mysql_config:
- dest: /etc/my.cnf
- src: my_redhat.cnf
+ src: my.cnf
- dest: /etc/my.cnf.d/wsrep.cnf
src: wsrep.cnf
+mysql_config_dir: /etc/my.cnf.d
+mysql_data_dir: /var/lib/mysql
+
mongodb_config:
dest: /etc/mongod.conf
src: mongodb.conf