Add documentation for testing, change value in vars

This commit is contained in:
Sebastian Gumprich 2015-07-18 19:13:41 +00:00
parent dab153eb56
commit daf8e4c45b
3 changed files with 10 additions and 1 deletions

1
.gitignore vendored
View file

@ -12,3 +12,4 @@ Berksfile.lock
ansible.cfg
hosts
default.yml
roles/bennojoy.mysql/

View file

@ -89,6 +89,12 @@ bundle install
# Fetch tests
bundle exec thor kitchen:fetch-remote-tests
# download a MySQL-installation role
ansible-galaxy install -p roles/ bennojoy.mysql
# change password in MySQL-installation role to match the one from testing
sed -i 's/foobar/iloverandompasswordsbutthiswilldo/g' roles/bennojoy.mysql/defaults/main.yml
# fast test on one machine
bundle exec kitchen test default-ubuntu-1204

View file

@ -10,7 +10,9 @@ mysql_remove_test_database: true
# @see http://dev.mysql.com/doc/refman/5.7/en/server-options.html#option_mysqld_skip-show-database
mysql_hardening_skip_show_database: true
mysql_hardening_skip_grant_tables: true
# @see https://dev.mysql.com/doc/refman/5.7/en/server-options.html#option_mysqld_skip-grant-tables
mysql_hardening_skip_grant_tables: false
# @see http://www.symantec.com/connect/articles/securing-mysql-step-step
# @see http://dev.mysql.com/doc/refman/5.7/en/server-options.html#option_mysqld_chroot