Ignore check_hostname when using MySQLdb

This commit is contained in:
Jorge-Rodriguez 2020-10-04 10:37:38 +03:00
parent 3aed674194
commit 5d9469831b
No known key found for this signature in database
GPG key ID: 43153D1EFD8F7D90
8 changed files with 38 additions and 9 deletions

View file

@ -66,7 +66,8 @@ options:
description:
- Whether to validate the server host name when an SSL connection is required.
- Setting this to False disables hostname verification. Use with caution.
- Requires pymysql >= 0.7.11. MySQLdb does not support this option.
- Requires pymysql >= 0.7.11.
- This optoin has no effect on MySQLdb.
type: bool
requirements:
- PyMySQL (Python 2.7 and Python 3.X), or