mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 11:50:18 +01:00
More Travis testing.
This commit is contained in:
parent
4715a6bd60
commit
7b99b6aacc
2 changed files with 8 additions and 3 deletions
|
@ -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;'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue