mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-10-23 04:54:04 +07:00
Ensure MySQL is started
This commit is contained in:
1 parent
4880222d81
commit
ee296f5cf8
1 file changed
+3
@@ -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