roles/mariadb: Change socket location

Instead of using /var/run, just use /run directly. This is the real
path and it's the default anyways.
This commit is contained in:
2021-09-08 15:50:48 +03:00
parent 635bb5234d
commit 8467dc1300
2 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ innodb_buffer_pool_size: 256M
# Ansible 2.7.x with PyMySQL seems to default to TCP connection so we should
# force it to use a Unix socket.
# See: https://github.com/ansible/ansible/issues/47736
mariadb_login_unix_socket: /var/run/mysqld/mysqld.sock
mariadb_login_unix_socket: /run/mysqld/mysqld.sock
# default is 100 but the max I've seen used is 5, so let's reduce it
max_connections: 33