Ensure service is started before request it

pull/14/head
Emilien Mantel 2017-06-01 16:26:24 +02:00
parent 0f1d2bcdcf
commit 80906079c0
1 changed files with 3 additions and 0 deletions

View File

@ -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 }}"