Add option to make a mysql install read only

Rebased on unstable
This commit is contained in:
Patrick Marchand 2020-06-01 12:03:23 -04:00 committed by Gitea
parent 004b48eee7
commit 0a4aeea481
3 changed files with 5 additions and 3 deletions

View file

@ -11,6 +11,9 @@ The **patch** part changes incrementally at each release.
## [Unreleased]
### Added
* mysql: activate binary logs by specifying log_bin path
* mysql: specify a custom server_id
* mysql: option to define as read only
### Changed
@ -47,8 +50,6 @@ The **patch** part changes incrementally at each release.
* minifirewall: add a variable to force the check scripts update
* mongodb: mongodb: compatibility with Debian 10
* mysql-oracle: backport tasks from mysql role
* mysql: activate binary logs by specifying log_bin path
* mysql: specify a custom server_id
* networkd-to-ifconfig: add variables for configuration by variables
* packweb-apache: Deploy opcache.php to give some insights on PHP's opcache status
* php: variable to install the mysqlnd module instead of the default mysql module

View file

@ -52,4 +52,4 @@ mysql_binlog_format: mixed
mysql_server_id: null
mysql_bind_address: null
mysql_repl_password: ''
mysql_read_only: 0

View file

@ -38,3 +38,4 @@ 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 }}