Skip to content

/interface/ethernet/power-cycle-ping-enabled: yes/true no/false missmatch #370

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

Open
ivoruetsche opened this issue May 1, 2025 · 0 comments

Comments

@ivoruetsche
Copy link

ivoruetsche commented May 1, 2025

Hi

Thanks a lot for the collection and your effort.

Ivo

SUMMARY

If we set /interface/ethernet/power-cycle-ping-enabled to "yes", Ansible always generate a change or if we set true, we get an error.

ISSUE TYPE
  • Bug Report
COMPONENT NAME
ANSIBLE VERSION
ansible [core 2.18.5]
COLLECTION VERSION
Collection         Version
------------------ -------
community.routeros 3.6.0  
OS / ENVIRONMENT

PRETTY_NAME="Ubuntu 24.04.2 LTS"
RouterOS: 7.18.2

STEPS TO REPRODUCE
  - hostname: "192.168.1.2"
    password: "xxxxx"
    username: "admin"
    path: interface ethernet
    find:
      default-name: ether10
    values:
      power-cycle-ping-enabled: "yes"  # or "true"
EXPECTED RESULTS

If I set power-cycle-ping-enabled to yes (or true), there should be no change or error.

ACTUAL RESULTS
--- before
+++ after
-            "power-cycle-ping-enabled": true,
+            "power-cycle-ping-enabled": "yes",
changed: ....

If we set "true", we get an error:
"Error while modifying for .id=*17: invalid value of power-cycle-ping-enabled, must be either yes or no"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant