Move all shared into this new repo

This commit is contained in:
2020-04-02 15:48:20 -06:00
parent 27307f26f2
commit 66fd90a649
465 changed files with 61143 additions and 0 deletions

View File

@@ -0,0 +1 @@
[mysql]

View File

@@ -0,0 +1,4 @@
[mysqldump]
quick
quote-names
max_allowed_packet = 16M

View File

@@ -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/

View File

@@ -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

View File

@@ -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

View 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

View 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"