mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-05 02:03:09 +00:00
add type declaration to the port parameter of the irc module. #AnsibleZH (#2349)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user