-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api_modify: Some routes shows "changed" when they shouldn't #148
Comments
Please use |
When using --- before
+++ after
@@ -15,6 +15,7 @@
".id": "*5",
"add-default-route": true,
"default-route-distance": 1,
+ "dhcp-options": "",
"disabled": false,
"interface": "ether1",
"use-peer-dns": true, I need this option to be unset, but it doesn't accept null or empty object/array |
Ok, that means we are handling the |
Verified: on both ROS6 and ROS7, |
#154 should fix this. |
SUMMARY
Some routes (I currently experiencing this only in
ip dhcp-client
, but there can be more) showchanged
, when there actually no changes. For example when I executing the following task muliple times:it always shows
changed
status, when no actually changes are performed (it is visible when enabling verbose output and comparing old_data and new_data)ISSUE TYPE
COMPONENT NAME
community.routeros.api_modify
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Run a playbook with the task that modifies
ip dhcp-client
path of Mikrotik routerEXPECTED RESULTS
The status of task should be
ok
, notchanged
when applying the same configurationACTUAL RESULTS
The text was updated successfully, but these errors were encountered: