diff --git a/changelogs/fragments/263-sys-pkg-update.yml b/changelogs/fragments/263-sys-pkg-update.yml new file mode 100644 index 0000000..9d3c3d1 --- /dev/null +++ b/changelogs/fragments/263-sys-pkg-update.yml @@ -0,0 +1,2 @@ +minor_changes: + - api_info, api_modify - add read-only fields ``installed-version``, ``latest-version`` and ``status`` in ``system package update`` (https://github.com/ansible-collections/community.routeros/pull/263). diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index 8353614..dfbaa23 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -3508,6 +3508,9 @@ PATHS = { fully_understood=True, fields={ 'channel': KeyInfo(default='stable'), + 'installed-version': KeyInfo(read_only=True), + 'latest-version': KeyInfo(read_only=True), + 'status': KeyInfo(read_only=True), }, ), ),