diff --git a/.travis.yml b/.travis.yml index caaed81..22cbfa4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,9 +43,6 @@ script: # Test role. - 'sudo docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook /etc/ansible/roles/role_under_test/tests/${playbook}' - # Test role again. - - 'sudo docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook /etc/ansible/roles/role_under_test/tests/${playbook}' - # Test role idempotence. - > sudo docker exec "$(cat ${container_id})" ansible-playbook /etc/ansible/roles/role_under_test/tests/${playbook} diff --git a/tasks/configure.yml b/tasks/configure.yml index 9cbbbae..92bcea5 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -39,7 +39,7 @@ state: file owner: mysql group: mysql - mode: 0644 + mode: 0640 when: mysql_slow_query_log_enabled - name: Create error log file (if configured). @@ -52,7 +52,7 @@ state: file owner: mysql group: mysql - mode: 0644 + mode: 0640 when: mysql_log == "" and mysql_log_error != "" - name: Ensure MySQL is started and enabled on boot.