mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
add type declaration to the port parameter of the irc module. #AnsibleZH (#2349)
This commit is contained in:
parent
a6ee449d6b
commit
0349fcd894
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