mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-04-09 13:42:10 +07:00
Default MySQL works on jessie
This commit is contained in:
6
templates/etc/apt/preferences.d/95-percona.j2
Normal file
6
templates/etc/apt/preferences.d/95-percona.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
Explanation: Prevent Debian upgrades on percona packages
|
||||
Package: *
|
||||
Pin: release o=Percona Development Team
|
||||
Pin-Priority: 1001
|
||||
17
templates/etc/mysql/conf.d/98-config.cnf.j2
Normal file
17
templates/etc/mysql/conf.d/98-config.cnf.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
# -------------------------------------------
|
||||
# {{ ansible_managed }}
|
||||
# -------------------------------------------
|
||||
|
||||
{% for i in mysql_cnf %}
|
||||
[{{ i.group_name }}]
|
||||
{% for c in i.conf %}
|
||||
{% if c.value is defined %}
|
||||
{{ c.key }} = {{ c.value }}
|
||||
{% else %}
|
||||
{{ c.key }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
; vim: set ft=ini :
|
||||
Reference in New Issue
Block a user