forked from evolix/ansible-roles
mysql: use a boolean for read-only
This commit is contained in:
parent
fb7218972f
commit
ca5d9d5202
|
@ -59,5 +59,5 @@ mysql_binlog_format: mixed
|
|||
mysql_server_id: null
|
||||
mysql_bind_address: null
|
||||
mysql_repl_password: ''
|
||||
mysql_read_only: 0
|
||||
mysql_read_only: False
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ lower_case_table_names = {{ mysql_lower_case_table_names }}
|
|||
{% if mysql_innodb_log_file_size %}
|
||||
innodb_log_file_size = {{ mysql_innodb_log_file_size }}
|
||||
{% endif %}
|
||||
read_only = {{ mysql_read_only }}
|
||||
read_only = {{ mysql_read_only | bool | ternary('1','0') }}
|
||||
{% if mysql_performance_schema %}
|
||||
performance_schema = ON
|
||||
performance-schema-instrument='stage/%=ON'
|
||||
|
|
Loading…
Reference in a new issue