mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Cange URL for organization device lookup (#42648)
This commit is contained in:
@@ -265,7 +265,7 @@ def main():
|
|||||||
meraki.params['follow_redirects'] = 'all'
|
meraki.params['follow_redirects'] = 'all'
|
||||||
|
|
||||||
query_urls = {'device': '/networks/{net_id}/devices'}
|
query_urls = {'device': '/networks/{net_id}/devices'}
|
||||||
query_org_urls = {'device': '/organizations/{org_id}/deviceStatuses'}
|
query_org_urls = {'device': '/organizations/{org_id}/inventory'}
|
||||||
query_device_urls = {'device': '/networks/{net_id}/devices/'}
|
query_device_urls = {'device': '/networks/{net_id}/devices/'}
|
||||||
claim_device_urls = {'device': '/networks/{net_id}/devices/claim'}
|
claim_device_urls = {'device': '/networks/{net_id}/devices/claim'}
|
||||||
bind_org_urls = {'device': '/organizations/{org_id}/claim'}
|
bind_org_urls = {'device': '/organizations/{org_id}/claim'}
|
||||||
|
|||||||
@@ -195,7 +195,7 @@
|
|||||||
- update_device_idempotent.changed == False
|
- update_device_idempotent.changed == False
|
||||||
|
|
||||||
always:
|
always:
|
||||||
- name: Remove a device
|
- name: Remove a device from a network
|
||||||
meraki_device:
|
meraki_device:
|
||||||
auth_key: '{{auth_key}}'
|
auth_key: '{{auth_key}}'
|
||||||
org_name: '{{test_org_name}}'
|
org_name: '{{test_org_name}}'
|
||||||
|
|||||||
Reference in New Issue
Block a user