mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Switched primary and alias names of the name/db parameter, to match documentation. Fixes #8065.
This commit is contained in:
parent
a320c02c81
commit
22390e50e5
1 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ def main():
|
||||||
login_host=dict(default="localhost"),
|
login_host=dict(default="localhost"),
|
||||||
login_port=dict(default="3306"),
|
login_port=dict(default="3306"),
|
||||||
login_unix_socket=dict(default=None),
|
login_unix_socket=dict(default=None),
|
||||||
db=dict(required=True, aliases=['name']),
|
name=dict(required=True, aliases=['db']),
|
||||||
encoding=dict(default=""),
|
encoding=dict(default=""),
|
||||||
collation=dict(default=""),
|
collation=dict(default=""),
|
||||||
target=dict(default=None),
|
target=dict(default=None),
|
||||||
|
@ -276,7 +276,7 @@ def main():
|
||||||
if not mysqldb_found:
|
if not mysqldb_found:
|
||||||
module.fail_json(msg="the python mysqldb module is required")
|
module.fail_json(msg="the python mysqldb module is required")
|
||||||
|
|
||||||
db = module.params["db"]
|
db = module.params["name"]
|
||||||
encoding = module.params["encoding"]
|
encoding = module.params["encoding"]
|
||||||
collation = module.params["collation"]
|
collation = module.params["collation"]
|
||||||
state = module.params["state"]
|
state = module.params["state"]
|
||||||
|
|
Loading…
Reference in a new issue