summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database/vars/RedHat.yml
blob: fe2d3f0a1cb2c3b0c5fd108585bc7101409419c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
##############################################################################
# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
mysql_packages:
  - MySQL-python
  - mysql-server

maridb_packages:
  - MySQL-python
  - MariaDB-Galera-server
  - MariaDB-client
  - galera
  - MySQL-python

mongodb_packages:
  - mongo-10gen-server
  - mongo-10gen

pip_packages:
  - pymongo

services: []

mongodb_service: mongod

mysql_config:
  - 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"