Skip to content

Commit 95b152b

Browse files
committed
first commit
0 parents  commit 95b152b

26 files changed

+2476
-0
lines changed

LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Ansible role MySQL
2+
3+
Setup MySQL, MySQL InnoDB Cluster
4+
5+
TBD

defaults/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
3+
disable_firewall: no
4+
disable_selinux: no
5+
mysql_resolv_mode: dns
6+
mysql_subnet: 192.168.25.0/24
7+
mysql_listen_all_interfaces: no
8+
9+
mysql_group: mysql
10+
mysql_user: mysql
11+
12+
mysql_data_dir: /var/lib/mysql
13+
mysql_log_dir: /var/log/mysql
14+
mysql_conf_dir: /etc/mysql
15+
mysql_pid_dir: /var/run/mysqld
16+
17+
mysql_root_pw: ''
18+
mysql_authentication: mysql_native_password
19+
mysql_operator_user: operator
20+
mysql_operator_password: Op3r4torMyPw
21+
mysql_replica_user: replica
22+
mysql_replica_password: rEpL1c4p4Sw0,rd
23+
24+
mysql_replication_mode: '' # InnoDB Cluster, GTID, Empty/None (default)
25+
26+
# Required params if mysql_replication_mode is set to 'InnoDB Cluster'
27+
mysql_gr_name: ''
28+
mysql_gr_vcu: ''
29+
mysql_innodb_cluster_name: ''

0 commit comments

Comments
 (0)