Skip to content

Commit

Permalink
Add parameter host-key-type for ip ssh path (#297)
Browse files Browse the repository at this point in the history
Add changelog fragment
  • Loading branch information
derdeagle authored Jun 29, 2024
1 parent c2b43ac commit 3c717e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/297-add-ip-ssh-host-key-type.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - add parameter ``host-key-type`` for ``ip ssh`` path (https://github.com/ansible-collections/community.routeros/issues/280, https://github.com/ansible-collections/community.routeros/pull/297).
3 changes: 3 additions & 0 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3205,6 +3205,9 @@ def join_path(path):
unversioned=VersionedAPIData(
single_value=True,
fully_understood=True,
versioned_fields=[
([('7.9', '>=')], 'host-key-type', KeyInfo(default='rsa')),
],
fields={
'allow-none-crypto': KeyInfo(default=False),
'always-allow-password-login': KeyInfo(default=False),
Expand Down

0 comments on commit 3c717e4

Please sign in to comment.