forked from evolix/ansible-roles
Allow setting a custom mysql server_id
This commit is contained in:
parent
508f725193
commit
0009272462
|
@ -19,6 +19,7 @@ The **patch** part changes incrementally at each release.
|
||||||
* redis: max clients is configurable
|
* redis: max clients is configurable
|
||||||
* generate-ldif: support MariaDB 10.3
|
* generate-ldif: support MariaDB 10.3
|
||||||
* mysql: activate binary logs by specifying log_bin path
|
* mysql: activate binary logs by specifying log_bin path
|
||||||
|
* mysql: specify a custom server_id
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
* elasticsearch: listen on local interface only by default
|
* elasticsearch: listen on local interface only by default
|
||||||
|
|
|
@ -31,6 +31,7 @@ Tasks are extracted in several files, included in `tasks/main.yml` :
|
||||||
* `mysql_query_cache_limit`: (default: `Null`, default evolinux config is then used) ;
|
* `mysql_query_cache_limit`: (default: `Null`, default evolinux config is then used) ;
|
||||||
* `mysql_query_cache_size`: (default: `Null`, default evolinux config is then used) ;
|
* `mysql_query_cache_size`: (default: `Null`, default evolinux config is then used) ;
|
||||||
* `mysql_log_bin`: (default: `Null`, activates binlogs if used) ;
|
* `mysql_log_bin`: (default: `Null`, activates binlogs if used) ;
|
||||||
|
* `mysql_server_id`: (default: `Null`, MySQL version default is then used) ;
|
||||||
* `mysql_custom_datadir`: custom datadir.
|
* `mysql_custom_datadir`: custom datadir.
|
||||||
* `mysql_custom_tmpdir`: custom tmpdir.
|
* `mysql_custom_tmpdir`: custom tmpdir.
|
||||||
* `general_alert_email`: email address to send various alert messages (default: `root@localhost`).
|
* `general_alert_email`: email address to send various alert messages (default: `root@localhost`).
|
||||||
|
|
|
@ -30,6 +30,7 @@ mysql_max_heap_table_size: Null
|
||||||
mysql_query_cache_limit: Null
|
mysql_query_cache_limit: Null
|
||||||
mysql_query_cache_size: Null
|
mysql_query_cache_size: Null
|
||||||
mysql_log_bin: Null
|
mysql_log_bin: Null
|
||||||
|
mysql_server_id: Null
|
||||||
|
|
||||||
mysql_cron_optimize: True
|
mysql_cron_optimize: True
|
||||||
mysql_cron_optimize_frequency: weekly
|
mysql_cron_optimize_frequency: weekly
|
||||||
|
|
|
@ -32,3 +32,6 @@ query_cache_size = {{ mysql_query_cache_size }}
|
||||||
{% if mysql_log_bin %}
|
{% if mysql_log_bin %}
|
||||||
log_bin = {{ mysql_log_bin }}
|
log_bin = {{ mysql_log_bin }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if mysql_server_id %}
|
||||||
|
server_id = {{ mysql_server_id }}
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue