1
0
Fork 0
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:
Matt Clay 2019-02-15 09:07:15 -08:00
parent db03f88b63
commit 02c9f70898
3 changed files with 4 additions and 3 deletions

View file

@ -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'),

View file

@ -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:

View file

@ -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