mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-10-23 04:54:04 +07:00
Ensure service is started before request it
This commit is contained in:
1 parent
0f1d2bcdcf
commit
80906079c0
1 file changed
+3
@@ -36,6 +36,9 @@
|
||||
- name: INCLUDE | Secure install
|
||||
include: 'secure.yml'
|
||||
|
||||
- name: SERVICE | Ensure service is started
|
||||
service: name=mysql state=started
|
||||
|
||||
- name: MYSQL_DB | Create databases
|
||||
mysql_db: name={{ item }} state=present
|
||||
with_items: "{{ mysql_databases }}"
|
||||
|
||||
Reference in new issue
Block a user