mirror of
https://github.com/aljazceru/ansible-role-mysql.git
synced 2025-12-20 23:24:22 +01:00
Another attempt at getting good debug output from Travis.
This commit is contained in:
@@ -13,7 +13,8 @@ before_install:
|
|||||||
- sudo apt-get autoremove
|
- sudo apt-get autoremove
|
||||||
- sudo apt-get autoclean
|
- sudo apt-get autoclean
|
||||||
- sudo rm -rf /var/lib/mysql
|
- sudo rm -rf /var/lib/mysql
|
||||||
- sudo rm -rf /var/log/mysql
|
- sudo truncate -s 0 /var/log/mysql/error.log
|
||||||
|
- sudo truncate -s 0 /var/log/mysql/slow.log
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Install Ansible.
|
# Install Ansible.
|
||||||
@@ -38,7 +39,6 @@ script:
|
|||||||
|
|
||||||
# Some MySQL debugging (show all the logs).
|
# Some MySQL debugging (show all the logs).
|
||||||
- "sudo ls -lah /var/log"
|
- "sudo ls -lah /var/log"
|
||||||
- "sudo ls -lah /var/log/mysql"
|
|
||||||
- "sudo cat /var/log/mysql/error.log"
|
- "sudo cat /var/log/mysql/error.log"
|
||||||
- "sudo cat /var/log/mysql/slow.log"
|
- "sudo cat /var/log/mysql/slow.log"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user