mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-09 19:30:18 +01:00
Add mysql_skip_name_resolve parameter
This prevent MySQL DNS name resolution. Default: no
This commit is contained in:
parent
7a0a48278f
commit
5e7edb8580
2 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,7 @@ mysql_port: "3306"
|
|||
mysql_bind_address: '0.0.0.0'
|
||||
mysql_datadir: /var/lib/mysql
|
||||
mysql_pid_file: /var/run/mysqld/mysqld.pid
|
||||
mysql_skip_name_resolve: no
|
||||
|
||||
# Slow query log settings.
|
||||
mysql_slow_query_log_enabled: no
|
||||
|
|
|
@ -9,6 +9,9 @@ bind-address = {{ mysql_bind_address }}
|
|||
datadir = {{ mysql_datadir }}
|
||||
socket = {{ mysql_socket }}
|
||||
pid-file = {{ mysql_pid_file }}
|
||||
{% if mysql_skip_name_resolve %}
|
||||
skip-name-resolve
|
||||
{% endif %}
|
||||
|
||||
# Logging configuration.
|
||||
{% if mysql_log_error == 'syslog' or mysql_log == 'syslog' %}
|
||||
|
|
Loading…
Reference in a new issue