From 7b99b6aacc12598c3a1af1bb2488a668db537565 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Fri, 23 May 2014 11:47:30 -0500 Subject: [PATCH] More Travis testing. --- .travis.yml | 3 +++ handlers/main.yml | 8 +++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index cdbe8d5..8e9cf65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,9 @@ script: && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1) + - "sudo service mysql status" + - "sudo service mysql restart" + # Check to make sure we can connect to MySQL. - > mysql -u root -proot -e 'show databases;' diff --git a/handlers/main.yml b/handlers/main.yml index 8622c20..3d0cc4a 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,5 +1,7 @@ --- - name: restart mysql - service: > - name={{ mysql_daemon }} - state=restarted + debug: msg="Testing..." +# - name: restart mysql +# service: > +# name={{ mysql_daemon }} +# state=restarted