Fix the mysql-open-files-limit validation

We need to talk to the mysql database as root.

Closes-Bug: #1637273
Change-Id: Ic9f16bed550a9b4d0c8e75e411f7343a82d9e39e
This commit is contained in:
Tomas Sedovic 2016-10-27 19:35:51 +02:00
parent 40aaac9026
commit de78744463

View File

@ -12,6 +12,7 @@
min_open_files_limit: 16384 min_open_files_limit: 16384
tasks: tasks:
- name: Get the open_files_limit value - name: Get the open_files_limit value
become: true
mysql_variables: variable=open_files_limit mysql_variables: variable=open_files_limit
register: mysqld_open_files_limit register: mysqld_open_files_limit
- name: Test the open-files-limit value - name: Test the open-files-limit value