Move all shared into this new repo
This commit is contained in:
@@ -0,0 +1 @@
|
||||
[mysql]
|
||||
@@ -0,0 +1,4 @@
|
||||
[mysqldump]
|
||||
quick
|
||||
quote-names
|
||||
max_allowed_packet = 16M
|
||||
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# The Percona Server 5.7 configuration file.
|
||||
#
|
||||
#
|
||||
# * IMPORTANT: Additional settings that can override those from this file!
|
||||
# The files must end with '.cnf', otherwise they'll be ignored.
|
||||
# Please make any edits and changes to the appropriate sectional files
|
||||
# included below.
|
||||
#
|
||||
!includedir /etc/mysql/conf.d/
|
||||
!includedir /etc/mysql/percona-server.conf.d/
|
||||
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# The Percona Server 5.7 configuration file.
|
||||
#
|
||||
# One can use all long options that the program supports.
|
||||
# Run program with --help to get a list of available options and with
|
||||
# --print-defaults to see which it would actually understand and use.
|
||||
#
|
||||
# For explanations see
|
||||
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
|
||||
|
||||
[mysqld]
|
||||
user = mysql
|
||||
pid-file = /var/run/mysqld/mysqld.pid
|
||||
socket = /var/run/mysqld/mysqld.sock
|
||||
port = 3306
|
||||
basedir = /usr
|
||||
datadir = /var/lib/mysql
|
||||
tmpdir = /tmp
|
||||
lc-messages-dir = /usr/share/mysql
|
||||
explicit_defaults_for_timestamp
|
||||
|
||||
log-error = /var/log/mysql/error.log
|
||||
|
||||
# Recommended in standard MySQL setup
|
||||
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_ALL_TABLES
|
||||
|
||||
# Disabling symbolic-links is recommended to prevent assorted security risks
|
||||
symbolic-links=0
|
||||
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# The Percona Server 5.7 configuration file.
|
||||
#
|
||||
# One can use all long options that the program supports.
|
||||
# Run program with --help to get a list of available options and with
|
||||
# --print-defaults to see which it would actually understand and use.
|
||||
#
|
||||
# For explanations see
|
||||
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
|
||||
|
||||
[mysqld_safe]
|
||||
pid-file = /var/run/mysqld/mysqld.pid
|
||||
socket = /var/run/mysqld/mysqld.sock
|
||||
nice = 0
|
||||
21
db/mysql-percona-5.7/tasks/install-debian.yml
Normal file
21
db/mysql-percona-5.7/tasks/install-debian.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
# Add Percona repositories for Debian 9
|
||||
- name: Adding Percona sources for Debian 9 Jessie
|
||||
apt:
|
||||
deb: https://repo.percona.com/apt/percona-release_0.1-6.stretch_all.deb
|
||||
when: ansible_os_family == "Debian" and ansible_distribution_major_version == "9"
|
||||
|
||||
# Add Percona repositories for Debian 10
|
||||
- name: Adding Percona sources for Debian 10 Buster
|
||||
apt:
|
||||
deb: https://repo.percona.com/apt/percona-release_latest.buster_all.deb
|
||||
when: ansible_os_family == "Debian" and ansible_distribution_major_version == "10"
|
||||
|
||||
# Install Percona Server 5.7
|
||||
- name: Installing MySQL Percona Server 5.7
|
||||
apt:
|
||||
update_cache: yes
|
||||
state: present
|
||||
name:
|
||||
- percona-server-server-5.7
|
||||
- python-mysqldb # Required for ansible to createdb or createuser
|
||||
6
db/mysql-percona-5.7/tasks/main.yml
Normal file
6
db/mysql-percona-5.7/tasks/main.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
# Percona Server 5.7
|
||||
|
||||
# Install Percona MySQL 5.7 - Debian All Versions
|
||||
- include_tasks: install-debian.yml
|
||||
when: ansible_os_family == "Debian"
|
||||
Reference in New Issue
Block a user