Fix sanity test failures (pep8).

pull/52311/head
Matt Clay 5 years ago
parent db03f88b63
commit 02c9f70898

@ -200,7 +200,8 @@ def main():
login_host=dict(type='str', default='localhost'),
login_port=dict(type='int', default=3306),
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_host=dict(type='str'),
master_user=dict(type='str'),

@ -20,7 +20,7 @@ short_description: Manage MySQL global variables
description:
- Query / Set MySQL variables.
version_added: 1.3
author:
author:
- Balazs Pocze (@banyek)
options:
variable:

@ -47,7 +47,7 @@ options:
is used as template.
type: str
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.
- Permissions checking for SQL commands is carried out as though the session_role were the one that had logged in originally.
type: str

Loading…
Cancel
Save