mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-04-05 13:22:09 +07:00
Ensure MySQL is started
This commit is contained in:
@@ -18,6 +18,9 @@
|
|||||||
- name: TEMPLATE Create .my.cnf for root
|
- name: TEMPLATE Create .my.cnf for root
|
||||||
template: src=root/my.cnf dest=/root/.my.cnf owner=root group=root mode=0600 backup=yes
|
template: src=root/my.cnf dest=/root/.my.cnf owner=root group=root mode=0600 backup=yes
|
||||||
|
|
||||||
|
- name: SERVICE | Ensure daemon is started
|
||||||
|
service: name=mysql state=started
|
||||||
|
|
||||||
- name: INCLUDE | Secure install
|
- name: INCLUDE | Secure install
|
||||||
include: 'secure.yml'
|
include: 'secure.yml'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user