mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update test to use mysql connect_timeout option.
This commit is contained in:
parent
6a1f97ad42
commit
9a922fcf0d
1 changed files with 1 additions and 4 deletions
|
@ -194,11 +194,8 @@
|
||||||
#============================================================
|
#============================================================
|
||||||
# Verify mysql_variable fails with an incorrect login_host parameter
|
# 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
|
- 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
|
register: result
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue