mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 11:50:18 +01:00
Merge pull request #114 from nerzhul/skip_name_resolve
Add mysql_skip_name_resolve parameter
This commit is contained in:
commit
d6706d703c
2 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,7 @@ mysql_port: "3306"
|
||||||
mysql_bind_address: '0.0.0.0'
|
mysql_bind_address: '0.0.0.0'
|
||||||
mysql_datadir: /var/lib/mysql
|
mysql_datadir: /var/lib/mysql
|
||||||
mysql_pid_file: /var/run/mysqld/mysqld.pid
|
mysql_pid_file: /var/run/mysqld/mysqld.pid
|
||||||
|
mysql_skip_name_resolve: no
|
||||||
|
|
||||||
# Slow query log settings.
|
# Slow query log settings.
|
||||||
mysql_slow_query_log_enabled: no
|
mysql_slow_query_log_enabled: no
|
||||||
|
|
|
@ -9,6 +9,9 @@ bind-address = {{ mysql_bind_address }}
|
||||||
datadir = {{ mysql_datadir }}
|
datadir = {{ mysql_datadir }}
|
||||||
socket = {{ mysql_socket }}
|
socket = {{ mysql_socket }}
|
||||||
pid-file = {{ mysql_pid_file }}
|
pid-file = {{ mysql_pid_file }}
|
||||||
|
{% if mysql_skip_name_resolve %}
|
||||||
|
skip-name-resolve
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Logging configuration.
|
# Logging configuration.
|
||||||
{% if mysql_log_error == 'syslog' or mysql_log == 'syslog' %}
|
{% if mysql_log_error == 'syslog' or mysql_log == 'syslog' %}
|
||||||
|
|
Loading…
Reference in a new issue