Community.Routeros Release Notes
v3.12.1
Release Summary
Maintenance release.
Bugfixes
Fix accidental type extensions (https://github.com/ansible-collections/community.routeros/pull/406).
v3.12.0
Release Summary
Bugfix and feature release.
Minor Changes
api_modify - add
vrfforsystem logging actionwith a default ofmainfor RouterOS 7.19 and newer (https://github.com/ansible-collections/community.routeros/pull/401).api_modify, api_info - field
instanceinrouting bgp connectionpath is required, androuter-idhas been moved torouting bgp instanceby RouterOS 7.20 and newer (https://github.com/ansible-collections/community.routeros/pull/404).api_modify, api_info - support for field
new-priorityin API pathipv6 firewall mangle`(https://github.com/ansible-collections/community.routeros/pull/402).
Bugfixes
Avoid using
ansible.module_utils.sixto avoid deprecation warnings with ansible-core 2.20 (https://github.com/ansible-collections/community.routeros/pull/405).
v3.11.0
Release Summary
Bugfix and feature release.
Minor Changes
api_find_and_modify, api_modify - instead of comparing supplied values as-is to values retrieved from the API and converted to some types (int, bool) by librouteros, instead compare values by converting them to strings first, using similar conversion rules that librouteros uses (https://github.com/ansible-collections/community.routeros/issues/389, https://github.com/ansible-collections/community.routeros/issues/370, https://github.com/ansible-collections/community.routeros/issues/325, https://github.com/ansible-collections/community.routeros/issues/169, https://github.com/ansible-collections/community.routeros/pull/397).
Bugfixes
api - allow querying for keys containing
id, as long as the key itself is notid(https://github.com/ansible-collections/community.routeros/issues/396, https://github.com/ansible-collections/community.routeros/pull/398).
v3.10.0
Release Summary
Bugfix and feature release.
Minor Changes
api_info, api_modify - add
show-at-cli-loginproperty insystem note(https://github.com/ansible-collections/community.routeros/pull/392).api_info, api_modify - set default value for
includeandexcludeproperties insystem noteto an empty string (https://github.com/ansible-collections/community.routeros/pull/394).
Bugfixes
api_facts - also report interfaces that are inferred only by reference by IP addresses. RouterOS’s APIs have IPv4 and IPv6 addresses point at interfaces by their name, which can change over time and in-between API calls, such that interfaces may have been enumerated under another name, or not at all (for example when removed). Such interfaces are now reported under their new or temporary name and with a synthetic
typeproperty set to differentiate the more likely and positively confirmed removal case (withtype: "ansible:unknown") from the unlikely and probably transient naming mismatch (withtype: "ansible:mismatch"). Previously, the api_facts module would have crashed with aKeyErrorexception (https://github.com/ansible-collections/community.routeros/pull/391).
v3.9.0
Release Summary
Bugfix and feature release.
Minor Changes
api_info, api modify - add
remote-log-format,remote-protocol, andevent-delimitertosystem logging action(https://github.com/ansible-collections/community.routeros/pull/381).api_info, api_modify - add
disable-link-local-addressandstale-neighbor-timeoutfields toipv6 settings(https://github.com/ansible-collections/community.routeros/pull/380).api_info, api_modify - adjust neighbor limit fields in
ipv6 settingsto match RouterOS 7.18 and newer (https://github.com/ansible-collections/community.routeros/pull/380).api_info, api_modify - set
passthroughdefault inip firewall mangletotruefor RouterOS 7.19 and newer (https://github.com/ansible-collections/community.routeros/pull/382).api_info, api_modify - since RouterOS 7.17 VRF is supported for OVPN server. It now supports multiple entries, while
api_modifyso far only accepted a single entry. Theinterface ovpn-server serverpath now allows multiple entries on RouterOS 7.17 and newer (https://github.com/ansible-collections/community.routeros/pull/383).
Bugfixes
routeros terminal plugin - fix
terminal_stdout_repattern to handle long system identities when connecting to RouterOS through SSH (https://github.com/ansible-collections/community.routeros/pull/386).
v3.8.1
Release Summary
Bugfix release.
Bugfixes
facts and api_facts modules - prevent deprecation warnings when used with ansible-core 2.19 (https://github.com/ansible-collections/community.routeros/pull/384).
v3.8.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - add
interface ethernet switch port-isolationwhich is supported since RouterOS 6.43 (https://github.com/ansible-collections/community.routeros/pull/375).api_info, api_modify - add
routing bfd configuration. Officially stabilized BFD support for BGP and OSPF is available since RouterOS 7.11 (https://github.com/ansible-collections/community.routeros/pull/375).api_modify, api_info - support API path
ip ipsec mode-config(https://github.com/ansible-collections/community.routeros/pull/376).
v3.7.0
Release Summary
Feature release.
Minor Changes
api_find_and_modify - allow to control whether
dynamicand/orbuiltinentries are ignored with the newignore_dynamicandignore_builtinoptions (https://github.com/ansible-collections/community.routeros/issues/372, https://github.com/ansible-collections/community.routeros/pull/373).api_info, api_modify - add
port-cost-modetointerface bridgewhich is supported since RouterOS 7.13 (https://github.com/ansible-collections/community.routeros/pull/371).
v3.6.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - add
mdns-repeat-ifacestoip dnsfor RouterOS 7.16 and newer (https://github.com/ansible-collections/community.routeros/pull/358).api_info, api_modify - field name change in
routing bgp connectionpath implemented by RouterOS 7.19 and newer (https://github.com/ansible-collections/community.routeros/pull/360).api_info, api_modify - rename
is-responderproperty ininterface wireguard peerstoresponderfor RouterOS 7.17 and newer (https://github.com/ansible-collections/community.routeros/pull/364).
v3.5.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - change default for
/ip/cloud/ddns-enabledfor RouterOS 7.17 and newer fromyestoauto(https://github.com/ansible-collections/community.routeros/pull/350).
v3.4.0
Release Summary
Feature and bugfix release.
Minor Changes
api_info, api_modify - add support for the
ip dns forwarderspath implemented by RouterOS 7.17 and newer (https://github.com/ansible-collections/community.routeros/pull/343).
Bugfixes
api_info, api_modify - remove the primary key
actionfrom theinterface wifi provisioningpath, since RouterOS also allows to create completely duplicate entries (https://github.com/ansible-collections/community.routeros/issues/344, https://github.com/ansible-collections/community.routeros/pull/345).
v3.3.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - add missing attribute
require-message-authfor theradiuspath which exists since RouterOS version 7.15 (https://github.com/ansible-collections/community.routeros/issues/338, https://github.com/ansible-collections/community.routeros/pull/339).api_info, api_modify - add the
interface 6to4path. Used to manage IPv6 tunnels via tunnel-brokers like HE, where native IPv6 is not provided (https://github.com/ansible-collections/community.routeros/pull/342).api_info, api_modify - add the
interface wireless access-listandinterface wireless connect-listpaths (https://github.com/ansible-collections/community.routeros/issues/284, https://github.com/ansible-collections/community.routeros/pull/340).api_info, api_modify - add the
use-interface-duidoption foripv6 dhcp-clientpath. This option prevents issues with Fritzbox modems and routers, when using virtual interfaces (like VLANs) may create duplicated records in hosts config, this breaks original “expose-host” function. Also add thescript,custom-duidandvalidate-server-duidas backport from 7.15 version update (https://github.com/ansible-collections/community.routeros/pull/341).
v3.2.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - add support for the
routing filter community-listpath implemented by RouterOS 7 and newer (https://github.com/ansible-collections/community.routeros/pull/331).
v3.1.0
Release Summary
Bugfix and feature release.
Minor Changes
api_info, api_modify - add missing fields
comment,next-pooltoip poolpath (https://github.com/ansible-collections/community.routeros/pull/327).
Bugfixes
api_info, api_modify - fields
logandlog-prefixin pathsip firewall filter,ip firewall mangle,ip firewall nat,ip firewall rawnow have the correct default values (https://github.com/ansible-collections/community.routeros/pull/324).
v3.0.0
Release Summary
Major release that drops support for End of Life Python versions and fixes check mode for community.routeros.command.
Breaking Changes / Porting Guide
command - the module no longer declares that it supports check mode (https://github.com/ansible-collections/community.routeros/pull/318).
Removed Features (previously deprecated)
The collection no longer supports Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, and ansible-core 2.14. If you need to continue using End of Life versions of Ansible/ansible-base/ansible-core, please use community.routeros 2.x.y (https://github.com/ansible-collections/community.routeros/pull/318).
v2.20.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - add new parameters from the RouterOS 7.16 release (https://github.com/ansible-collections/community.routeros/pull/323).
api_info, api_modify - add support
interface l2tp-clientconfiguration (https://github.com/ansible-collections/community.routeros/pull/322).api_info, api_modify - add support for the
cpu-frequency,memory-frequency,preboot-etherbootandpreboot-etherboot-serverproperties insystem routerboard settings(https://github.com/ansible-collections/community.routeros/pull/320).api_info, api_modify - add support for the
matching-typeproperty inip dhcp-server matcherintroduced by RouterOS 7.16 (https://github.com/ansible-collections/community.routeros/pull/321).
v2.19.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - add support for the
ip dns adlistpath implemented by RouterOS 7.15 and newer (https://github.com/ansible-collections/community.routeros/pull/310).api_info, api_modify - add support for the
mld-versionandmulticast-querierproperties ininterface bridge(https://github.com/ansible-collections/community.routeros/pull/315).api_info, api_modify - add support for the
routing filter num-listpath implemented by RouterOS 7 and newer (https://github.com/ansible-collections/community.routeros/pull/313).api_info, api_modify - add support for the
routing igmp-proxypath (https://github.com/ansible-collections/community.routeros/pull/309).api_modify, api_info - add read-only
defaultfield tosnmp community(https://github.com/ansible-collections/community.routeros/pull/311).
v2.18.0
Release Summary
Feature release.
Minor Changes
api_info - allow to restrict the output by limiting fields to specific values with the new
restrictoption (https://github.com/ansible-collections/community.routeros/pull/305).api_info, api_modify - add support for the
ip dhcp-server matcherpath (https://github.com/ansible-collections/community.routeros/pull/300).api_info, api_modify - add support for the
ipv6 nd prefixpath (https://github.com/ansible-collections/community.routeros/pull/303).api_info, api_modify - add support for the
nameandis-responderproperties under theinterface wireguard peerspath introduced in RouterOS 7.15 (https://github.com/ansible-collections/community.routeros/pull/304).api_info, api_modify - add support for the
routing ospf static-neighborpath in RouterOS 7 (https://github.com/ansible-collections/community.routeros/pull/302).api_info, api_modify - set default for
forceinip dhcp-server optionto an explicitfalse(https://github.com/ansible-collections/community.routeros/pull/300).api_modify - allow to restrict what is updated by limiting fields to specific values with the new
restrictoption (https://github.com/ansible-collections/community.routeros/pull/305).
Deprecated Features
The collection deprecates support for all Ansible/ansible-base/ansible-core versions that are currently End of Life, according to the ansible-core support matrix. This means that the next major release of the collection will no longer support Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, and ansible-core 2.14.
Bugfixes
api_modify, api_info - change the default of
ingress-filteringin pathsinterface bridgeandinterface bridge portback tofalsefor RouterOS before version 7 (https://github.com/ansible-collections/community.routeros/pull/305).
v2.17.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - add
system health settingspath (https://github.com/ansible-collections/community.routeros/pull/294).api_info, api_modify - add missing path
/system resource irq rps(https://github.com/ansible-collections/community.routeros/pull/295).api_info, api_modify - add parameter
host-key-typeforip sshpath (https://github.com/ansible-collections/community.routeros/issues/280, https://github.com/ansible-collections/community.routeros/pull/297).
v2.16.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - add missing path
/ppp secret(https://github.com/ansible-collections/community.routeros/pull/286).api_info, api_modify - minor changes
/interface ethernetpath fields (https://github.com/ansible-collections/community.routeros/pull/288).
v2.15.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - Add RouterOS 7.x support to
/mpls ldppath (https://github.com/ansible-collections/community.routeros/pull/271).api_info, api_modify - add
/ip route rulepath for RouterOS 6.x (https://github.com/ansible-collections/community.routeros/pull/278).api_info, api_modify - add
/routing filterpath for RouterOS 6.x (https://github.com/ansible-collections/community.routeros/pull/279).api_info, api_modify - add default value for
from-poolfield in/ipv6 address(https://github.com/ansible-collections/community.routeros/pull/270).api_info, api_modify - add missing path
/interface pppoe-server server(https://github.com/ansible-collections/community.routeros/pull/273).api_info, api_modify - add missing path
/ip dhcp-relay(https://github.com/ansible-collections/community.routeros/pull/276).api_info, api_modify - add missing path
/queue simple(https://github.com/ansible-collections/community.routeros/pull/269).api_info, api_modify - add missing path
/queue type(https://github.com/ansible-collections/community.routeros/pull/274).api_info, api_modify - add missing paths
/routing bgp aggregate,/routing bgp networkand/routing bgp peer(https://github.com/ansible-collections/community.routeros/pull/277).api_info, api_modify - add support for paths
/mpls interface,/mpls ldp accept-filter,/mpls ldp advertise-filterandmpls ldp interface(https://github.com/ansible-collections/community.routeros/pull/272).
v2.14.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - add read-only fields
installed-version,latest-versionandstatusinsystem package update(https://github.com/ansible-collections/community.routeros/pull/263).api_info, api_modify - added support for
interface wifiand its sub-paths (https://github.com/ansible-collections/community.routeros/pull/266).api_info, api_modify - remove default value for read-only
runningfield ininterface wireless(https://github.com/ansible-collections/community.routeros/pull/264).
v2.13.0
Release Summary
Bugfix and feature release.
Minor Changes
api_info, api_modify - make path
user groupmodifiable and addcommentattribute (https://github.com/ansible-collections/community.routeros/issues/256, https://github.com/ansible-collections/community.routeros/pull/257).api_modify, api_info - add support for the
ip vrfpath in RouterOS 7 (https://github.com/ansible-collections/community.routeros/pull/259)
Bugfixes
facts - fix date not getting removed for idempotent config export (https://github.com/ansible-collections/community.routeros/pull/262).
v2.12.0
Release Summary
Feature release.
Minor Changes
api_info, api_modify - add
interface ovpn-clientpath (https://github.com/ansible-collections/community.routeros/issues/242, https://github.com/ansible-collections/community.routeros/pull/244).api_info, api_modify - add
radiuspath (https://github.com/ansible-collections/community.routeros/issues/241, https://github.com/ansible-collections/community.routeros/pull/245).api_info, api_modify - add
routing rulepath (https://github.com/ansible-collections/community.routeros/issues/162, https://github.com/ansible-collections/community.routeros/pull/246).api_info, api_modify - add missing path
routing bgp template(https://github.com/ansible-collections/community.routeros/pull/243).api_info, api_modify - add support for the
tx-powerattribute ininterface wireless(https://github.com/ansible-collections/community.routeros/pull/239).api_info, api_modify - removed
hostprimary key intool netwatchpath (https://github.com/ansible-collections/community.routeros/pull/248).api_modify, api_info - added support for
interface wifiwave2(https://github.com/ansible-collections/community.routeros/pull/226).
v2.11.0
Release Summary
Feature and bugfix release.
Minor Changes
api_info, api_modify - add missing DoH parameters
doh-max-concurrent-queries,doh-max-server-connections, anddoh-timeoutto theip dnspath (https://github.com/ansible-collections/community.routeros/issues/230, https://github.com/ansible-collections/community.routeros/pull/235)api_info, api_modify - add missing parameters
address-list,address-list-timeout,randomise-ports, andrealmto subpaths of theip firewallpath (https://github.com/ansible-collections/community.routeros/issues/236, https://github.com/ansible-collections/community.routeros/pull/237).api_info, api_modify - mark the
interface wirelessparameterrunningas read-only (https://github.com/ansible-collections/community.routeros/pull/233).api_info, api_modify - set the default value to
falsefor thedisabledparameter in some more paths where it can be seen in the documentation (https://github.com/ansible-collections/community.routeros/pull/237).api_modify - add missing
commentattribute to/routing id(https://github.com/ansible-collections/community.routeros/pull/234).api_modify - add missing attributes to the
routing bgp connectionpath (https://github.com/ansible-collections/community.routeros/pull/234).api_modify - add versioning to the
/tool e-mailpath (RouterOS 7.12 release) (https://github.com/ansible-collections/community.routeros/pull/234).api_modify - make
/ip traffic-flow targeta multiple value attribute (https://github.com/ansible-collections/community.routeros/pull/234).
v2.10.0
Release Summary
Bugfix and feature release.
Minor Changes
api_info - add new
include_read_onlyoption to select behavior for read-only values. By default these are not returned (https://github.com/ansible-collections/community.routeros/pull/213).api_info, api_modify - add support for
address-listandmatch-subdomainintroduced by RouterOS 7.7 in theip dns staticpath (https://github.com/ansible-collections/community.routeros/pull/197).api_info, api_modify - add support for
user,timeandgmt-offsetunder thesystem clockpath (https://github.com/ansible-collections/community.routeros/pull/210).api_info, api_modify - add support for the
interface ppp-clientpath (https://github.com/ansible-collections/community.routeros/pull/199).api_info, api_modify - add support for the
interface wirelesspath (https://github.com/ansible-collections/community.routeros/pull/195).api_info, api_modify - add support for the
iot modbuspath (https://github.com/ansible-collections/community.routeros/pull/205).api_info, api_modify - add support for the
ip dhcp-server optionandip dhcp-server option setspaths (https://github.com/ansible-collections/community.routeros/pull/223).api_info, api_modify - add support for the
ip upnp interfaces,tool graphing interface,tool graphing resourcepaths (https://github.com/ansible-collections/community.routeros/pull/227).api_info, api_modify - add support for the
ipv6 firewall natpath (https://github.com/ansible-collections/community.routeros/pull/204).api_info, api_modify - add support for the
modeproperty inip neighbor discovery-settingsintroduced in RouterOS 7.7 (https://github.com/ansible-collections/community.routeros/pull/198).api_info, api_modify - add support for the
port remote-accesspath (https://github.com/ansible-collections/community.routeros/pull/224).api_info, api_modify - add support for the
routing filter ruleandrouting filter select-rulepaths (https://github.com/ansible-collections/community.routeros/pull/200).api_info, api_modify - add support for the
routing tablepath in RouterOS 7 (https://github.com/ansible-collections/community.routeros/pull/215).api_info, api_modify - add support for the
tool netwatchpath in RouterOS 7 (https://github.com/ansible-collections/community.routeros/pull/216).api_info, api_modify - add support for the
user settingspath (https://github.com/ansible-collections/community.routeros/pull/201).api_info, api_modify - add support for the
userpath (https://github.com/ansible-collections/community.routeros/pull/211).api_info, api_modify - finalize fields for the
interface wireless security-profilespath and enable it (https://github.com/ansible-collections/community.routeros/pull/203).api_info, api_modify - finalize fields for the
ppp profilepath and enable it (https://github.com/ansible-collections/community.routeros/pull/217).api_modify - add new
handle_read_onlyandhandle_write_onlyoptions to handle the module’s behavior for read-only and write-only fields (https://github.com/ansible-collections/community.routeros/pull/213).api_modify, api_info - support API paths
routing id,routing bgp connection(https://github.com/ansible-collections/community.routeros/pull/220).
Bugfixes
api_info, api_modify - in the
snmppath, ensure thatengine-id-suffixis only available on RouterOS 7.10+, and thatengine-idis read-only on RouterOS 7.10+ (https://github.com/ansible-collections/community.routeros/issues/208, https://github.com/ansible-collections/community.routeros/pull/218).
v2.9.0
Release Summary
Bugfix and feature release.
Minor Changes
api_info, api_modify - add path
caps-man channeland enable pathcaps-man manager interface(https://github.com/ansible-collections/community.routeros/issues/193, https://github.com/ansible-collections/community.routeros/pull/194).api_info, api_modify - add path
ip traffic-flow target(https://github.com/ansible-collections/community.routeros/issues/191, https://github.com/ansible-collections/community.routeros/pull/192).
Bugfixes
api_modify, api_info - add missing parameter
engine-id-suffixfor thesnmppath (https://github.com/ansible-collections/community.routeros/issues/189, https://github.com/ansible-collections/community.routeros/pull/190).
v2.8.3
Release Summary
Maintenance release with updated documentation.
From this version on, community.routeros is using the new Ansible semantic markup in its documentation. If you look at documentation with the ansible-doc CLI tool from ansible-core before 2.15, please note that it does not render the markup correctly. You should be still able to read it in most cases, but you need ansible-core 2.15 or later to see it as it is intended. Alternatively you can look at the devel docsite for the rendered HTML version of the documentation of the latest release.
Known Issues
Ansible markup will show up in raw form on ansible-doc text output for ansible-core before 2.15. If you have trouble deciphering the documentation markup, please upgrade to ansible-core 2.15 (or newer), or read the HTML documentation on https://docs.ansible.com/ansible/devel/collections/community/routeros/.
v2.8.2
Release Summary
Bugfix release.
Bugfixes
api_modify, api_info - add missing parameter
tlsfor thetool e-mailpath (https://github.com/ansible-collections/community.routeros/issues/179, https://github.com/ansible-collections/community.routeros/pull/180).
v2.8.1
Release Summary
Bugfix release.
Bugfixes
facts - do not crash in CLI output preprocessing in unexpected situations during line unwrapping (https://github.com/ansible-collections/community.routeros/issues/170, https://github.com/ansible-collections/community.routeros/pull/177).
v2.8.0
Release Summary
Bugfix and feature release.
Minor Changes
api_modify - adapt data for API paths
ip dhcp-server network(https://github.com/ansible-collections/community.routeros/pull/156).api_modify - add support for API path
snmp community(https://github.com/ansible-collections/community.routeros/pull/159).api_modify - add support for
trap-interfacesin API pathsnmp(https://github.com/ansible-collections/community.routeros/pull/159).api_modify - add support to disable IPv6 in API paths
ipv6 settings(https://github.com/ansible-collections/community.routeros/pull/158).api_modify - support API paths
ip firewall layer7-protocol(https://github.com/ansible-collections/community.routeros/pull/153).command - workaround for extra characters in stdout in RouterOS versions between 6.49 and 7.1.5 (https://github.com/ansible-collections/community.routeros/issues/62, https://github.com/ansible-collections/community.routeros/pull/161).
Bugfixes
api_info, api_modify - fix default and remove behavior for
dhcp-optionsin pathip dhcp-client(https://github.com/ansible-collections/community.routeros/issues/148, https://github.com/ansible-collections/community.routeros/pull/154).api_modify - fix handling of disabled keys on creation (https://github.com/ansible-collections/community.routeros/pull/154).
various plugins and modules - remove unnecessary imports (https://github.com/ansible-collections/community.routeros/pull/149).
v2.7.0
Release Summary
Bugfix and feature release.
Minor Changes
api_modify, api_info - support API paths
ip arp,ip firewall raw,ipv6 firewall raw(https://github.com/ansible-collections/community.routeros/pull/144).
Bugfixes
api_modify, api_info - defaults corrected for fields in
interface wireguard peersAPI path (https://github.com/ansible-collections/community.routeros/pull/144).
v2.6.0
Release Summary
Regular bugfix and feature release.
Minor Changes
api_modify, api_info - add field
regexptoip dns static(https://github.com/ansible-collections/community.routeros/issues/141).api_modify, api_info - support API paths
interface wireguard,interface wireguard peers(https://github.com/ansible-collections/community.routeros/pull/143).
Bugfixes
api_modify - do not use
nameas a unique key inip dns static(https://github.com/ansible-collections/community.routeros/issues/141).api_modify, api_info - do not crash if router contains
regexpDNS entries inip dns static(https://github.com/ansible-collections/community.routeros/issues/141).
v2.5.0
Release Summary
Feature and bugfix release.
Minor Changes
api_info, api_modify - support API paths
interface ethernet poe,interface gre6,interface vrrpand also support all previously missing fields of entries inip dhcp-server(https://github.com/ansible-collections/community.routeros/pull/137).
Bugfixes
api_modify -
address-poolfield of entries in API pathip dhcp-serveris not required anymore (https://github.com/ansible-collections/community.routeros/pull/137).
v2.4.0
Release Summary
Feature release improving the api* modules.
Minor Changes
api* modules - Add new option
force_no_certto connect with ADH ciphers (https://github.com/ansible-collections/community.routeros/pull/124).api_info - new parameter
include_builtinwhich allows to include “builtin” entries that are automatically generated by ROS and cannot be modified by the user (https://github.com/ansible-collections/community.routeros/pull/130).api_modify, api_info - support API paths -
interface bonding,interface bridge mlag,ipv6 firewall mangle,ipv6 nd,system scheduler,system script,system ups(https://github.com/ansible-collections/community.routeros/pull/133).api_modify, api_info - support API paths
caps-man access-list,caps-man configuration,caps-man datapath,caps-man manager,caps-man provisioning,caps-man security(https://github.com/ansible-collections/community.routeros/pull/126).api_modify, api_info - support API paths
interface listandinterface list member(https://github.com/ansible-collections/community.routeros/pull/120).api_modify, api_info - support API paths
interface pppoe-client,interface vlan,interface bridge,interface bridge vlan(https://github.com/ansible-collections/community.routeros/pull/125).api_modify, api_info - support API paths
ip ipsec identity,ip ipsec peer,ip ipsec policy,ip ipsec profile,ip ipsec proposal(https://github.com/ansible-collections/community.routeros/pull/129).api_modify, api_info - support API paths
ip routeandip route vrf(https://github.com/ansible-collections/community.routeros/pull/123).api_modify, api_info - support API paths
ipv6 address,ipv6 dhcp-server,ipv6 dhcp-server option,ipv6 route,queue tree,routing ospf area,routing ospf area range,routing ospf instance,routing ospf interface-template,routing pimsm instance,routing pimsm interface-template(https://github.com/ansible-collections/community.routeros/pull/131).api_modify, api_info - support API paths
system logging,system logging action(https://github.com/ansible-collections/community.routeros/pull/127).api_modify, api_info - support field
hw-offloadfor pathip firewall filter(https://github.com/ansible-collections/community.routeros/pull/121).api_modify, api_info - support fields
address-list,address-list-timeout,connection-bytes,connection-limit,connection-mark,connection-rate,connection-type,content,disabled,dscp,dst-address-list,dst-address-type,dst-limit,fragment,hotspot,icmp-options,in-bridge-port,in-bridge-port-list,ingress-priority,ipsec-policy,ipv4-options,jump-target,layer7-protocol,limit,log,log-prefix,nth,out-bridge-port,out-bridge-port-list,packet-mark,packet-size,per-connection-classifier,port,priority,psd,random,realm,routing-mark,same-not-by-dst,src-address,src-address-list,src-address-type,src-mac-address,src-port,tcp-mss,time,tls-host,ttlinip firewall natpath (https://github.com/ansible-collections/community.routeros/pull/133).api_modify, api_info - support fields
combo-mode,comment,fec-mode,mdix-enable,poe-out,poe-priority,poe-voltage,power-cycle-interval,power-cycle-ping-address,power-cycle-ping-enabled,power-cycle-ping-timeoutfor pathinterface ethernet(https://github.com/ansible-collections/community.routeros/pull/121).api_modify, api_info - support fields
jump-target,reject-withinip firewall filterAPI path, fieldcommentinip firwall address-listAPI path, fieldjump-targetinip firewall mangleAPI path, fieldcommentinipv6 firewall address-listAPI path, fieldsjump-target,reject-withinipv6 firewall filterAPI path (https://github.com/ansible-collections/community.routeros/pull/133).api_modify, api_info - support for API fields that can be disabled and have default value at the same time, support API paths
interface gre,interface eoip(https://github.com/ansible-collections/community.routeros/pull/128).api_modify, api_info - support for fields
blackhole,pref-src,routing-table,suppress-hw-offload,type,vrf-interfaceinip routepath (https://github.com/ansible-collections/community.routeros/pull/131).api_modify, api_info - support paths
system ntp client serversandsystem ntp serveravailable in ROS7, as well as new fieldsservers,mode, andvrfforsystem ntp client(https://github.com/ansible-collections/community.routeros/pull/122).
Bugfixes
api_modify -
ip routeentry can be defined without the need ofgatewayfield, which is correct for unreachable/blackhole type of routes (https://github.com/ansible-collections/community.routeros/pull/131).api_modify -
queue interfacepath works now (https://github.com/ansible-collections/community.routeros/pull/131).api_modify, api_info - removed wrong field
dynamicfrom API pathipv6 firewall address-list(https://github.com/ansible-collections/community.routeros/pull/133).api_modify, api_info - the default of the field
ingress-filteringininterface bridge portis nowtrue, which is the default in ROS (https://github.com/ansible-collections/community.routeros/pull/125).command, facts - commands do not timeout in safe mode anymore (https://github.com/ansible-collections/community.routeros/pull/134).
Known Issues
api_modify - when limits for entries in
queue treeare defined as human readable - for example25M-, the configuration will be correctly set in ROS, but the module will indicate the item is changed on every run even when there was no change done. This is caused by the ROS API which returns the number in bytes - for example25000000(which is inconsistent with the CLI behavior). In order to mitigate that, the limits have to be defined in bytes (those will still appear as human readable in the ROS CLI) (https://github.com/ansible-collections/community.routeros/pull/131).api_modify, api_info -
routing ospf area,routing ospf area range,routing ospf instance,routing ospf interface-templatepaths are not fully implemented for ROS6 due to the significant changes between ROS6 and ROS7 (https://github.com/ansible-collections/community.routeros/pull/131).
v2.3.1
Release Summary
Maintenance release with improved documentation.
Known Issues
The
community.routeros.commandmodule claims to support check mode. Since it cannot judge whether the commands executed modify state or not, this behavior is incorrect. Since this potentially breaks existing playbooks, we will not change this behavior until community.routeros 3.0.0.
v2.3.0
Release Summary
Feature and bugfix release.
Minor Changes
The collection repository conforms to the REUSE specification except for the changelog fragments (https://github.com/ansible-collections/community.routeros/pull/108).
api* modules - added
timeoutparameter (https://github.com/ansible-collections/community.routeros/pull/109).api_modify, api_info - support API path
ip firewall mangle(https://github.com/ansible-collections/community.routeros/pull/110).
Bugfixes
api_modify, api_info - make API path
ip dhcp-serversupportscript, andip firewall natsupportin-interfaceandin-interface-list(https://github.com/ansible-collections/community.routeros/pull/110).
v2.2.1
Release Summary
Bugfix release.
Bugfixes
api_modify, api_info - make API path
ip dhcp-server leasesupportserver=all(https://github.com/ansible-collections/community.routeros/issues/104, https://github.com/ansible-collections/community.routeros/pull/107).api_modify, api_info - make API path
ip dhcp-server networksupport missing optionsboot-file-name,dhcp-option-set,dns-none,domain, andnext-server(https://github.com/ansible-collections/community.routeros/issues/104, https://github.com/ansible-collections/community.routeros/pull/106).
v2.2.0
Release Summary
New feature release.
Minor Changes
All software licenses are now in the
LICENSES/directory of the collection root. Moreover,SPDX-License-Identifier:is used to declare the applicable license for every file that is not automatically generated (https://github.com/ansible-collections/community.routeros/pull/101).
Bugfixes
Include
LICENSES/BSD-2-Clause.txtfile for therouterosmodule utils (https://github.com/ansible-collections/community.routeros/pull/101).
New Modules
community.routeros.api_info - Retrieve information from API
community.routeros.api_modify - Modify data at paths with API
v2.1.0
Release Summary
Feature and bugfix release with new modules.
Minor Changes
Added a
community.routeros.apimodule defaults group. Use withgroup/community.routeros.apito provide options for all API-based modules (https://github.com/ansible-collections/community.routeros/pull/89).Prepare collection for inclusion in an Execution Environment by declaring its dependencies (https://github.com/ansible-collections/community.routeros/pull/83).
api - add new option
extended querymore complex queries against RouterOS API (https://github.com/ansible-collections/community.routeros/pull/63).api - update
queryto accept symbolic parameters (https://github.com/ansible-collections/community.routeros/pull/63).api* modules - allow to set an encoding other than the default ASCII for communicating with the API (https://github.com/ansible-collections/community.routeros/pull/95).
Bugfixes
query - fix query function check for
.idvs.idarguments to not conflict with routeros arguments likeidentity(https://github.com/ansible-collections/community.routeros/pull/68, https://github.com/ansible-collections/community.routeros/issues/67).quoting and unquoting filter plugins, api module - handle the escape sequence
\_correctly as escaping a space and not an underscore (https://github.com/ansible-collections/community.routeros/pull/89).
New Modules
community.routeros.api_facts - Collect facts from remote devices running MikroTik RouterOS using the API
community.routeros.api_find_and_modify - Find and modify information using the API
v2.0.0
Release Summary
A new major release with breaking changes in the behavior of community.routeros.api and community.routeros.command.
Minor Changes
api - make validation of
WHEREforquerymore strict (https://github.com/ansible-collections/community.routeros/pull/53).command - the
commandsandwait_foroptions now convert the list elements to strings (https://github.com/ansible-collections/community.routeros/pull/55).facts - the
gather_subsetoption now converts the list elements to strings (https://github.com/ansible-collections/community.routeros/pull/55).
Breaking Changes / Porting Guide
api - due to a programming error, the module never failed on errors. This has now been fixed. If you are relying on the module not failing in case of idempotent commands (resulting in errors like
failure: already have such address), you need to adjust your roles/playbooks. We suggest to usefailed_whento accept failure in specific circumstances, for examplefailed_when: "'failure: already have ' in result.msg[0]"(https://github.com/ansible-collections/community.routeros/pull/39).api - splitting commands no longer uses a naive split by whitespace, but a more RouterOS CLI compatible splitting algorithm (https://github.com/ansible-collections/community.routeros/pull/45).
command - the module now always indicates that a change happens. If this is not correct, please use
changed_whento determine the correct changed status for a task (https://github.com/ansible-collections/community.routeros/pull/50).
Bugfixes
api - improve splitting of
WHEREqueries (https://github.com/ansible-collections/community.routeros/pull/47).api - when converting result lists to dictionaries, no longer removes second
=and text following that if present (https://github.com/ansible-collections/community.routeros/pull/47).routeros cliconf plugin - adjust function signature that was modified in Ansible after creation of this plugin (https://github.com/ansible-collections/community.routeros/pull/43).
New Plugins
Filter
community.routeros.join - Join a list of arguments to a command
community.routeros.list_to_dict - Convert a list of arguments to a list of dictionary
community.routeros.quote_argument - Quote an argument
community.routeros.quote_argument_value - Quote an argument value
community.routeros.split - Split a command into arguments
v1.2.0
Release Summary
Bugfix and feature release.
Minor Changes
Avoid internal ansible-core module_utils in favor of equivalent public API available since at least Ansible 2.9 (https://github.com/ansible-collections/community.routeros/pull/38).
api - add options
validate_certs(default valuetrue),validate_cert_hostname(default valuefalse), andca_pathto control certificate validation (https://github.com/ansible-collections/community.routeros/pull/37).api - rename option
ssltotls, and keep the old name as an alias (https://github.com/ansible-collections/community.routeros/pull/37).fact - add fact
ansible_net_config_nonverboseto get idempotent config (no date, no verbose) (https://github.com/ansible-collections/community.routeros/pull/23).
Bugfixes
api - when using TLS/SSL, remove explicit cipher configuration to insecure values, which also makes it impossible to connect to newer RouterOS versions (https://github.com/ansible-collections/community.routeros/pull/34).
v1.1.0
Release Summary
This release allow dashes in usernames for SSH-based modules.
Minor Changes
command - added support for a dash (
-) in username (https://github.com/ansible-collections/community.routeros/pull/18).facts - added support for a dash (
-) in username (https://github.com/ansible-collections/community.routeros/pull/18).
v1.0.1
Release Summary
Maintenance release with a bugfix for api.
Bugfixes
api - remove
id to .idas default requirement which conflicts with RouterOSidconfiguration parameter (https://github.com/ansible-collections/community.routeros/pull/15).
v1.0.0
Release Summary
This is the first production (non-prerelease) release of community.routeros.
Bugfixes
routeros terminal plugin - allow slashes in hostnames for terminal detection. Without this, slashes in hostnames will result in connection timeouts (https://github.com/ansible-collections/community.network/pull/138).
v0.1.1
Release Summary
Small improvements and bugfixes over the initial release.
Bugfixes
api - fix crash when the
sslparameter is used (https://github.com/ansible-collections/community.routeros/pull/3).
v0.1.0
Release Summary
The community.routeros continues the work on the Ansible RouterOS modules from their state in community.network 1.2.0. The changes listed here are thus relative to the modules community.network.routeros_*.
Minor Changes
facts - now also collecting data about BGP and OSPF (https://github.com/ansible-collections/community.network/pull/101).
facts - set configuration export on to verbose, for full configuration export (https://github.com/ansible-collections/community.network/pull/104).