mirror of
https://github.com/aljazceru/ansible-role-mysql.git
synced 2025-12-19 13:54:20 +01:00
Another attempted fix to make Travis happy.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
---
|
||||
# For some reason, 'service mysql restart' doesn't work sometimes.
|
||||
- name: restart mysql
|
||||
command: "{{ item }}"
|
||||
with_items:
|
||||
- "service {{ mysql_daemon }} status"
|
||||
- "service {{ mysql_daemon }} restart"
|
||||
- "service {{ mysql_daemon }} stop"
|
||||
- "service {{ mysql_daemon }} start"
|
||||
# - name: restart mysql
|
||||
# service: >
|
||||
# name={{ mysql_daemon }}
|
||||
|
||||
@@ -70,5 +70,3 @@
|
||||
mysql_db: >
|
||||
name="test"
|
||||
state=absent
|
||||
|
||||
- debug: var=mysql_daemon
|
||||
|
||||
Reference in New Issue
Block a user