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 René Moser
parent b0aec50b9a
commit 5a278a8ecd

View file

@ -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),