meraki - Rewrite update requirement check (#48394)

* Rewrite idempotency check
- Check now operates recursively and works on multiple types
- Order of lists matter

* Remove blank line for lint

* Fixed idempotency checks in meraki_ssid
- New sanitize() method for finding keys unique in compared dicts
- Fixed bug in meraki_ssid where SSID specified by number breaks
  - This will require a backport
- Converted ignored_keys from tuple to list

* Made changes required for idempotency

* Add changelog fragment

* Add unidirectional option for testing

* Disable option 1 check

* General fixes for is_update_required testing
- Added commented out debug statements in method
- Fixed ignored_keys modifications

* Remove old commented algorithm
This commit is contained in:
Kevin Breit
2019-05-29 09:18:01 -05:00
committed by Nathaniel Case
parent 57e1063fc7
commit 7864df8cb9
7 changed files with 55 additions and 29 deletions

View File

@@ -14,7 +14,7 @@
auth_key: '{{ auth_key }}'
host: marrrraki.com
state: query
org_name: DevTestOrg
org_name: '{{test_org_name}}'
output_level: debug
delegate_to: localhost
register: invalid_domain

View File

@@ -1,5 +1,6 @@
---
- block:
# This is commented out because a device cannot be unclaimed via API
# - name: Claim a device into an organization
# meraki_device:
# auth_key: '{{auth_key}}'