add type declaration to the port parameter of the irc module. #AnsibleZH (#2349)
This commit is contained in:
parent
b0aec50b9a
commit
5a278a8ecd
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ def main():
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec=dict(
|
argument_spec=dict(
|
||||||
server=dict(default='localhost'),
|
server=dict(default='localhost'),
|
||||||
port=dict(default=6667),
|
port=dict(type='int', default=6667),
|
||||||
nick=dict(default='ansible'),
|
nick=dict(default='ansible'),
|
||||||
nick_to=dict(required=False, type='list'),
|
nick_to=dict(required=False, type='list'),
|
||||||
msg=dict(required=True),
|
msg=dict(required=True),
|
||||||
|
|
Loading…
Reference in a new issue