Skip to content
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

cisco.meraki.networks_appliance_traffic_shaping_rules Always Pushes Configuration Even When Unchanged #71

Open
fdesouzabr opened this issue Dec 6, 2024 · 0 comments

Comments

@fdesouzabr
Copy link

I noticed that the cisco.meraki.networks_appliance_traffic_shaping_rules module in the Cisco Meraki Ansible collection appears to push configuration to the Meraki dashboard even when the existing configuration matches the desired state. This behavior seems unexpected, as it causes the task to be marked as "changed" even when no changes are actually required.

Upon checking the Meraki Dashboard logs, I observed that the same configuration is being pushed to the dashboard, even though it matches the existing configuration. This results in unnecessary API calls and could potentially impact automation workflows where maintaining consistency is expected.

Steps to Reproduce

  • Ensure a traffic shaping rule is already configured on the Meraki dashboard, matching the desired configuration.
    
  • Run a playbook using the cisco.meraki.networks_appliance_traffic_shaping_rules module with state: present and the same configuration as the dashboard.
    
  • Observe the task result and behavior on the dashboard.
    

Expected Behavior

The task should detect that the existing configuration matches the desired state and report the task as "ok," without re-pushing the configuration to the dashboard.

Actual Behavior

The task pushes the configuration to the dashboard even when no changes are necessary, and the task is marked as "changed."

Environment Details

Ansible Version: 2.18.1
Meraki Collection Version: 2.18.3
Python Version: 3.12.3
Operating System: Ubuntu 22.04

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