mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix sanity test failures (pep8).
This commit is contained in:
parent
db03f88b63
commit
02c9f70898
3 changed files with 4 additions and 3 deletions
|
@ -200,7 +200,8 @@ def main():
|
||||||
login_host=dict(type='str', default='localhost'),
|
login_host=dict(type='str', default='localhost'),
|
||||||
login_port=dict(type='int', default=3306),
|
login_port=dict(type='int', default=3306),
|
||||||
login_unix_socket=dict(type='str'),
|
login_unix_socket=dict(type='str'),
|
||||||
mode=dict(type='str', default='getslave', choices=['getmaster', 'getslave', 'changemaster', 'stopslave', 'startslave', 'resetslave', 'resetslaveall']),
|
mode=dict(type='str', default='getslave', choices=[
|
||||||
|
'getmaster', 'getslave', 'changemaster', 'stopslave', 'startslave', 'resetslave', 'resetslaveall']),
|
||||||
master_auto_position=dict(type='bool', default=False),
|
master_auto_position=dict(type='bool', default=False),
|
||||||
master_host=dict(type='str'),
|
master_host=dict(type='str'),
|
||||||
master_user=dict(type='str'),
|
master_user=dict(type='str'),
|
||||||
|
|
|
@ -20,7 +20,7 @@ short_description: Manage MySQL global variables
|
||||||
description:
|
description:
|
||||||
- Query / Set MySQL variables.
|
- Query / Set MySQL variables.
|
||||||
version_added: 1.3
|
version_added: 1.3
|
||||||
author:
|
author:
|
||||||
- Balazs Pocze (@banyek)
|
- Balazs Pocze (@banyek)
|
||||||
options:
|
options:
|
||||||
variable:
|
variable:
|
||||||
|
|
|
@ -47,7 +47,7 @@ options:
|
||||||
is used as template.
|
is used as template.
|
||||||
type: str
|
type: str
|
||||||
session_role:
|
session_role:
|
||||||
description:
|
description:
|
||||||
- Switch to session_role after connecting. The specified session_role must be a role that the current login_user is a member of.
|
- Switch to session_role after connecting. The specified session_role must be a role that the current login_user is a member of.
|
||||||
- Permissions checking for SQL commands is carried out as though the session_role were the one that had logged in originally.
|
- Permissions checking for SQL commands is carried out as though the session_role were the one that had logged in originally.
|
||||||
type: str
|
type: str
|
||||||
|
|
Loading…
Reference in a new issue