mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-03-14 11:42:09 +07:00
Ensure service is started before request it
This commit is contained in:
@@ -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