mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-05-18 23:19:11 -07:00
Revert the change of default value
This commit is contained in:
parent
7334ee86a3
commit
db047fda90
1 changed files with 7 additions and 8 deletions
|
@ -140,6 +140,7 @@ options:
|
|||
- Same as C(MASTER_SSL_VERIFY_SERVER_CERT) MySQL/MariaDB variable.
|
||||
- The module switch automatically to C(SOURCE_SSL_VERIFY_SERVER_CERT) for MySQL 8.0.23 and later.
|
||||
type: bool
|
||||
default: false
|
||||
version_added: '3.5.0'
|
||||
primary_auto_position:
|
||||
description:
|
||||
|
@ -493,7 +494,7 @@ def main():
|
|||
primary_ssl_cert=dict(type='str', aliases=['master_ssl_cert']),
|
||||
primary_ssl_key=dict(type='str', no_log=False, aliases=['master_ssl_key']),
|
||||
primary_ssl_cipher=dict(type='str', aliases=['master_ssl_cipher']),
|
||||
primary_ssl_verify_server_cert=dict(type='bool'),
|
||||
primary_ssl_verify_server_cert=dict(type='bool', default=False),
|
||||
primary_use_gtid=dict(type='str', choices=[
|
||||
'current_pos', 'replica_pos', 'disabled'], aliases=['master_use_gtid']),
|
||||
primary_delay=dict(type='int', aliases=['master_delay']),
|
||||
|
@ -641,7 +642,6 @@ def main():
|
|||
chm.append("%s='%s'" % (command_resolver.resolve_command('MASTER_SSL_KEY'), primary_ssl_key))
|
||||
if primary_ssl_cipher is not None:
|
||||
chm.append("%s='%s'" % (command_resolver.resolve_command('MASTER_SSL_CIPHER'), primary_ssl_cipher))
|
||||
if primary_ssl_verify_server_cert is not None:
|
||||
if primary_ssl_verify_server_cert:
|
||||
chm.append("%s=1" % command_resolver.resolve_command('MASTER_SSL_VERIFY_SERVER_CERT'))
|
||||
else:
|
||||
|
@ -726,7 +726,6 @@ def main():
|
|||
chm.append("SOURCE_SSL_KEY='%s'" % primary_ssl_key)
|
||||
if primary_ssl_cipher is not None:
|
||||
chm.append("SOURCE_SSL_CIPHER='%s'" % primary_ssl_cipher)
|
||||
if primary_ssl_verify_server_cert is not None:
|
||||
if primary_ssl_verify_server_cert:
|
||||
chm.append("%s=1" % command_resolver.resolve_command('MASTER_SSL_VERIFY_SERVER_CERT'))
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue