Skip names resolution in mariadb.

This commit is contained in:
Andrea Dell'Amico 2025-06-11 13:16:01 +02:00
parent ed5bb1dc27
commit 0875ea0b4a
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 5 additions and 1 deletions

View File

@ -38,6 +38,10 @@ mariadb_server_conf_params:
option: bind-address
value: '{% if mysql_listen_on_ext_int %}0.0.0.0{% else %}127.0.0.1{% endif %}'
state: present
- section: mysqld
option: skip-name-resolve
value: ''
state: '{% if mysql_skip_name_resolve %}present{% else %}absent{% endif %}'
- section: mysqld
option: port
value: '{{ mysql_db_port }}'
@ -80,7 +84,7 @@ mysql_db_innodb_log_file_size: 64M
mysql_db_innodb_log_buffer_size: 9M
mysql_safe_open_files_limit: 1024
mysql_max_allowed_packet: 16M
mysql_skip_name_resolve: True
mysql_skip_name_resolve: true
mysql_listen_on_ext_int: False
#mysql_db_data: