meraki_network
Manage reviewed legacy Meraki settings on the controller
Collection: cisco.meraki
Full Name: cisco.meraki.meraki_network
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage reviewed legacy Meraki settings on the controller
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| auth_key | str | yes | ||
| host | str | api.meraki.com | ||
| use_proxy | bool | false | ||
| use_https | bool | true | ||
| validate_certs | bool | true | ||
| output_format | str | snakecase | ||
| output_level | str | normal | ||
| timeout | int | 30 | ||
| org_name | str | |||
| org_id | str | |||
| rate_limit_retry_time | int | 165 | ||
| internal_error_retry_time | int | 60 | ||
| net_id | str | |||
| type | list | |||
| tags | list | |||
| timezone | str | |||
| net_name | str | |||
| state | str | present | ||
| enable_vlans | bool | |||
| local_status_page_enabled | bool | |||
| remote_status_page_enabled | bool | |||
| copy_from_network_id | str |
Example
yaml
- delegate_to: localhost
meraki_network:
auth_key: abc12345
org_name: YourOrg
state: query
name: List all networks associated to the YourOrg organization
- delegate_to: localhost
meraki_network:
auth_key: abc12345
net_name: MyNet
org_name: YourOrg
state: query
name: Query network named MyNet in the YourOrg organization
- delegate_to: localhost
meraki_network:
auth_key: abc12345
net_name: MyNet
org_name: YourOrg
state: present
tags: production, chicago
timezone: America/Chicago
type: switch
name: Create network named MyNet in the YourOrg organization
- delegate_to: localhost
meraki_network:
auth_key: abc12345
net_name: MyNet
org_name: YourOrg
state: present
tags: production, chicago
timezone: America/Chicago
type:
- switch
- appliance
name: Create combined network named MyNet in the YourOrg organization
- delegate_to: localhost
meraki_network:
auth_key: abc12345
copy_from_network_id: N_1234
net_name: MyNet
org_name: YourOrg
state: present
type:
- switch
- appliance
name: Create new network based on an existing network
- delegate_to: localhost
meraki_network:
auth_key: abc12345
enable_vlans: true
net_name: MyNet
org_name: YourOrg
state: query
name: Query network named MyNet with enable_vlans supplied
- delegate_to: localhost
meraki_network:
auth_key: abc12345
local_status_page_enabled: true
net_name: MyNet
org_name: YourOrg
state: query
name: Query local status page settings