Default MySQL works on jessie
parent
0627d4424c
commit
7b2439e590
|
@ -0,0 +1,2 @@
|
||||||
|
.vagrant*
|
||||||
|
*.swp
|
|
@ -3,8 +3,8 @@
|
||||||
# -------------------------------------
|
# -------------------------------------
|
||||||
# Setup
|
# Setup
|
||||||
# -------------------------------------
|
# -------------------------------------
|
||||||
mysql_origin: 'mariadb'
|
mysql_origin: 'default'
|
||||||
mysql_vendor: 'mariadb'
|
mysql_vendor: 'mysql'
|
||||||
mysql_root_password: 'change_me_NOW'
|
mysql_root_password: 'change_me_NOW'
|
||||||
|
|
||||||
# -------------------------------------
|
# -------------------------------------
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
- name: restart mysql
|
|
||||||
action: service name=mysql state=restarted enabled=yes
|
|
|
@ -1,2 +1,4 @@
|
||||||
---
|
---
|
||||||
# handlers file for .
|
|
||||||
|
- name: restart mysql
|
||||||
|
action: service name=mysql state=restarted enabled=yes
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
- name: INCLUDE | Install MySQL from default repo
|
- name: INCLUDE | Install MySQL from default repo
|
||||||
include: 'install_default_mysql.yml'
|
include: 'install_default_mysql.yml'
|
||||||
when: mysql_origin == 'default' mysql_vendor == 'mysql'
|
when: mysql_origin == 'default' and mysql_vendor == 'mysql'
|
||||||
|
|
||||||
- name: INCLUDE | Install MariaDB from Debian repo
|
- name: INCLUDE | Install MariaDB from Debian repo
|
||||||
include: 'install_default_mariadb.yml'
|
include: 'install_default_mariadb.yml'
|
||||||
|
|
|
@ -12,6 +12,9 @@
|
||||||
register: mysql_exists
|
register: mysql_exists
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
|
- name: INCLUDE | Install
|
||||||
|
include: install.yml
|
||||||
|
|
||||||
- name: TEMPLATE | Deploy daemon configuration
|
- name: TEMPLATE | Deploy daemon configuration
|
||||||
template: src=etc/mysql/conf.d/98-config.cnf.j2 dest=/etc/mysql/conf.d/98-config.cnf
|
template: src=etc/mysql/conf.d/98-config.cnf.j2 dest=/etc/mysql/conf.d/98-config.cnf
|
||||||
notify: restart mysql
|
notify: restart mysql
|
||||||
|
|
Loading…
Reference in New Issue