mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-19 17:01:26 -07:00
parent
5ed3eaf3ee
commit
e34209b3f8
8 changed files with 7 additions and 30 deletions
|
@ -176,7 +176,7 @@ def setvariable(cursor, mysqlvar, value, mode='global'):
|
|||
def main():
|
||||
argument_spec = mysql_common_argument_spec()
|
||||
argument_spec.update(
|
||||
variable=dict(type='str'),
|
||||
variable=dict(type='str', required=True),
|
||||
value=dict(type='str'),
|
||||
mode=dict(type='str', choices=['global', 'persist', 'persist_only'], default='global'),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue