diff --git a/mysql/defaults/main.yml b/mysql/defaults/main.yml index 8544daef..49115ee9 100644 --- a/mysql/defaults/main.yml +++ b/mysql/defaults/main.yml @@ -30,6 +30,7 @@ mysql_query_cache_limit: Null mysql_query_cache_size: Null mysql_max_allowed_packet: Null mysql_force_custom_config: 'no' +mysql_innodb_log_file_size: Null mysql_cron_optimize: True mysql_cron_optimize_frequency: weekly @@ -51,3 +52,4 @@ mysql_binlog_format: mixed mysql_server_id: null mysql_bind_address: null mysql_repl_password: '' + diff --git a/mysql/templates/evolinux-custom.cnf.j2 b/mysql/templates/evolinux-custom.cnf.j2 index daa70a48..d33a4f2b 100644 --- a/mysql/templates/evolinux-custom.cnf.j2 +++ b/mysql/templates/evolinux-custom.cnf.j2 @@ -35,5 +35,6 @@ max_allowed_packet = {{ mysql_max_allowed_packet }} {% if mysql_lower_case_table_names %} lower_case_table_names = {{ mysql_lower_case_table_names }} {% endif %} - - +{% if mysql_innodb_log_file_size %} +innodb_log_file_size = {{ mysql_innodb_log_file_size }} +{% endif %}