1
0
Fork 0
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:
P Stark 2016-06-01 10:02:46 +02:00 committed by Matt Clay
parent a6ee449d6b
commit 0349fcd894

View file

@ -247,7 +247,7 @@ def main():
module = AnsibleModule(
argument_spec=dict(
server=dict(default='localhost'),
port=dict(default=6667),
port=dict(type='int', default=6667),
nick=dict(default='ansible'),
nick_to=dict(required=False, type='list'),
msg=dict(required=True),