mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
New module - meraki_config_template (#41633)
* Implement configuration template management - Queries or removes templates - Can bind or unbind templates to networks - Module is idempotent only for binding and unbinding - Meraki does not allow template creation via API - Integration test is tedious b/c previous bullet point - Fixed bug in construct_path() so it won't set self.function * PEP8 changes * Re-enable some integration tests, use variables, and fix broken code
This commit is contained in:
@@ -193,7 +193,7 @@ class MerakiModule(object):
|
||||
"""Downloads all networks in an organization."""
|
||||
if org_name:
|
||||
org_id = self.get_org_id(org_name)
|
||||
path = self.construct_path('get_all', org_id=org_id)
|
||||
path = self.construct_path('get_all', org_id=org_id, function='network')
|
||||
r = self.request(path, method='GET')
|
||||
return r
|
||||
|
||||
|
||||
Reference in New Issue
Block a user