summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database/vars
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/database/vars')
-rw-r--r--deploy/adapters/ansible/roles/database/vars/Debian.yml7
-rw-r--r--deploy/adapters/ansible/roles/database/vars/RedHat.yml13
2 files changed, 15 insertions, 5 deletions
diff --git a/deploy/adapters/ansible/roles/database/vars/Debian.yml b/deploy/adapters/ansible/roles/database/vars/Debian.yml
index d1704385..2eefc703 100644
--- a/deploy/adapters/ansible/roles/database/vars/Debian.yml
+++ b/deploy/adapters/ansible/roles/database/vars/Debian.yml
@@ -30,8 +30,13 @@ services: []
mongodb_service: mongodb
mysql_config:
- dest: /etc/mysql/my.cnf
- src: my.cnf
+ src: my_debian.cnf
- dest: /etc/mysql/conf.d/wsrep.cnf
src: wsrep.cnf
+mongodb_config:
+ dest: /etc/mongodb.conf
+ src: mongodb.conf
+ journal: /var/lib/mongodb/journal/*
+
wsrep_provider_file: "/usr/lib/galera/libgalera_smm.so"
diff --git a/deploy/adapters/ansible/roles/database/vars/RedHat.yml b/deploy/adapters/ansible/roles/database/vars/RedHat.yml
index 0782de91..fe2d3f0a 100644
--- a/deploy/adapters/ansible/roles/database/vars/RedHat.yml
+++ b/deploy/adapters/ansible/roles/database/vars/RedHat.yml
@@ -27,12 +27,17 @@ pip_packages:
services: []
-mongodb_service: mongodb
+mongodb_service: mongod
mysql_config:
- - dest: /etc/mysql/my.cnf
- src: my.cnf
- - dest: /etc/mysql/conf.d/wsrep.cnf
+ - dest: /etc/my.cnf
+ src: my_redhat.cnf
+ - dest: /etc/my.cnf.d/wsrep.cnf
src: wsrep.cnf
+mongodb_config:
+ dest: /etc/mongod.conf
+ src: mongodb.conf
+ journal: /var/lib/mongo/journal/*
+
wsrep_provider_file: "/usr/lib64/galera/libgalera_smm.so"