Updated from subtree.

This commit is contained in:
Ivan Grynenko 2016-06-12 12:53:59 +10:00
parent beb696d23e
commit 68f42078f0
24 changed files with 6 additions and 1 deletions

0
lemp-rhel7/roles/ansible-role-mysql/README.md Normal file → Executable file
View file

0
lemp-rhel7/roles/ansible-role-mysql/defaults/main.yml Normal file → Executable file
View file

0
lemp-rhel7/roles/ansible-role-mysql/handlers/main.yml Normal file → Executable file
View file

0
lemp-rhel7/roles/ansible-role-mysql/meta/main.yml Normal file → Executable file
View file

View file

0
lemp-rhel7/roles/ansible-role-mysql/tasks/main.yml Normal file → Executable file
View file

View file

View file

View file

View file

0
lemp-rhel7/roles/ansible-role-mysql/tasks/users.yml Normal file → Executable file
View file

View file

@ -82,12 +82,17 @@ max_connections = {{ mysql_max_connections }}
wait_timeout = {{ mysql_wait_timeout }}
# InnoDB settings.
default-storage-engine = innodb
innodb_file_per_table = {{ mysql_innodb_file_per_table }}
innodb_buffer_pool_size = {{ mysql_innodb_buffer_pool_size }}
innodb_log_file_size = {{ mysql_innodb_log_file_size }}
innodb_log_buffer_size = {{ mysql_innodb_log_buffer_size }}
innodb_flush_log_at_trx_commit = {{ mysql_innodb_flush_log_at_trx_commit }}
innodb_lock_wait_timeout = {{ mysql_innodb_lock_wait_timeout }}
innodb_flush_method = O_DIRECT
innodb_open_files = 600
innodb_additional_mem_pool_size = 8M
innodb_thread_concurrency = 0
[mysqldump]
quick

View file

View file

View file

View file

View file

View file

View file

0
lemp-rhel7/roles/ansible-role-mysql/tests/inventory Normal file → Executable file
View file

0
lemp-rhel7/roles/ansible-role-mysql/tests/test.yml Normal file → Executable file
View file

0
lemp-rhel7/roles/ansible-role-mysql/vars/Debian.yml Normal file → Executable file
View file

0
lemp-rhel7/roles/ansible-role-mysql/vars/RedHat-6.yml Normal file → Executable file
View file

2
lemp-rhel7/roles/ansible-role-mysql/vars/RedHat-7.yml Normal file → Executable file
View file

@ -9,7 +9,7 @@ __mysql_packages:
__mysql_slow_query_log_file: /var/log/mysql-slow.log
mysql_log_error: /var/log/mariadb/mariadb.log
mysql_syslog_tag: mariadb
mysql_pid_file: /var/run/mariadb/mariadb.pid
mysql_pid_file: /var/lib/mysql/mariadb.pid
mysql_config_file: /etc/my.cnf
mysql_config_include_dir: /etc/my.cnf.d
mysql_socket: /var/lib/mysql/mysql.sock