mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-10-23 04:54:04 +07:00
New configuration method
This commit is contained in:
1 parent
446997f69b
commit
7eed88df04
5 files changed
+155
-12
No files matched your search
+6
-2
@@ -11,8 +11,12 @@
|
||||
- name: INCLUDE | Install
|
||||
include: install.yml
|
||||
|
||||
- name: TEMPLATE | Deploy daemon configuration
|
||||
template: src=etc/mysql/conf.d/90-config.cnf.j2 dest=/etc/mysql/conf.d/90-config.cnf
|
||||
- name: TEMPLATE | Deploy configuration
|
||||
template: src=etc/mysql/my.cnf.j2 dest=/etc/mysql/my.cnf
|
||||
notify: restart mysql
|
||||
|
||||
- name: TEMPLATE | Deploy extra configuration
|
||||
template: src=etc/mysql/conf.d/10-extra.cnf.j2 dest=/etc/mysql/conf.d/10-extra.cnf
|
||||
notify: restart mysql
|
||||
|
||||
- name: TEMPLATE Create .my.cnf for root
|
||||
|
||||
Reference in new issue
Block a user