mirror of
https://github.com/aljazceru/ansible-role-mysql.git
synced 2025-12-20 11:24:20 +01:00
Back to a working build.
This commit is contained in:
@@ -30,9 +30,6 @@ script:
|
|||||||
&& (echo 'Idempotence test: pass' && exit 0)
|
&& (echo 'Idempotence test: pass' && exit 0)
|
||||||
|| (echo 'Idempotence test: fail' && exit 1)
|
|| (echo 'Idempotence test: fail' && exit 1)
|
||||||
|
|
||||||
- "sudo service mysql status"
|
|
||||||
- "sudo service mysql restart"
|
|
||||||
|
|
||||||
# Check to make sure we can connect to MySQL.
|
# Check to make sure we can connect to MySQL.
|
||||||
- >
|
- >
|
||||||
mysql -u root -proot -e 'show databases;'
|
mysql -u root -proot -e 'show databases;'
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: restart mysql
|
- name: restart mysql
|
||||||
command: date
|
service: >
|
||||||
# - name: restart mysql
|
name={{ mysql_daemon }}
|
||||||
# service: >
|
state=restarted
|
||||||
# name={{ mysql_daemon }}
|
|
||||||
# state=restarted
|
|
||||||
|
|||||||
Reference in New Issue
Block a user