mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-24 13:04:00 -07:00
Merge pull request #14908 from mattclay/mysql-connect-timeout
Document mysql connect_timeout and update tests.
This commit is contained in:
commit
e80cd8bcaf
2 changed files with 7 additions and 4 deletions
|
|
@ -194,11 +194,8 @@
|
|||
#============================================================
|
||||
# Verify mysql_variable fails with an incorrect login_host parameter
|
||||
#
|
||||
- name: lower mysql connect timeout
|
||||
ini_file: dest="{{ansible_env.HOME}}/.my.cnf" section=client option=connect_timeout value=5
|
||||
|
||||
- name: query mysql_variable using incorrect login_host
|
||||
mysql_variables: variable=wait_timeout login_host=12.0.0.9
|
||||
mysql_variables: variable=wait_timeout login_host=12.0.0.9 connect_timeout=5
|
||||
register: result
|
||||
ignore_errors: true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue