cisco.meraki.meraki_mr_ssid module – Manage wireless SSIDs in the Meraki cloud
Note
This module is part of the cisco.meraki collection (version 2.17.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install cisco.meraki
.
To use it in a playbook, specify: cisco.meraki.meraki_mr_ssid
.
DEPRECATED
- Removed in:
version 3.0.0
- Why:
Updated modules released with increased functionality
- Alternative:
cisco.meraki.networks_wireless_ssids
Synopsis
Allows for management of SSIDs in a Meraki wireless environment.
Parameters
Parameter |
Comments |
---|---|
Set whether SSID will be broadcast by APs with tags matching any of the tags in this list. Requires |
|
List of VLAN tags. Requires Requires |
|
List of AP tags. |
|
Numerical identifier that is assigned to the VLAN. |
|
Authentication key provided by the dashboard. Required if environmental variable |
|
Set authentication mode of network. Choices:
|
|
Set whether all APs should broadcast the SSID or if it should be restricted to APs matching any availability tags. Requires Choices:
|
|
Set band selection mode. Choices:
|
|
The concentrator to use for ‘Layer 3 roaming with a concentrator’ or ‘VPN’. |
|
Default VLAN ID. Requires |
|
Enable or disable SSID network. Choices:
|
|
Set encryption mode of network. Choices:
|
|
Whether SSID is accessible by enterprise administrators. Choices:
|
|
Hostname for Meraki dashboard. Can be used to access regional Meraki environments, such as China. Default: |
|
Number of seconds to retry if server returns an internal server error. Default: |
|
Method of which SSID uses to assign IP addresses. Choices:
|
|
Enable or disable Layer 2 Lan isolation. Requires Choices:
|
|
Minimum bitrate (Mbps) allowed on SSID. Choices:
|
|
Name of SSID. |
|
ID of network. |
|
Name of network. |
|
SSID number within network. |
|
ID of organization. |
|
Name of organization. |
|
Instructs module whether response keys should be snake case (ex. Choices:
|
|
Set amount of debug output during module execution. Choices:
|
|
Maximum bandwidth in Mbps devices on SSID can download. |
|
Maximum bandwidth in Mbps devices on SSID can upload. |
|
Password for wireless network. Requires auth_mode to be set to psk. |
|
Enable or disable RADIUS accounting. Choices:
|
|
List of RADIUS servers for RADIUS accounting. |
|
IP address or hostname of RADIUS server. |
|
Port number RADIUS server is listening to. |
|
RADIUS password. Setting password is not idempotent. |
|
Enable or disable RADIUS CoA (Change of Authorization) on SSID. Choices:
|
|
Set client access policy in case RADIUS servers aren’t available. Choices:
|
|
Set load balancing policy when multiple RADIUS servers are specified. Choices:
|
|
Enable or disable RADIUS Proxy on SSID. Choices:
|
|
List of RADIUS servers. |
|
IP address or hostname of RADIUS server. |
|
Port number RADIUS server is listening to. |
|
RADIUS password. Setting password is not idempotent. |
|
Number of seconds to retry if rate limiter is triggered. Default: |
|
List of valid sponsor email domains for sponsored guest portal. |
|
Set to enable splash page and specify type of splash. Choices:
|
|
Specifies whether SNMP information should be queried or modified. Choices:
|
|
Time to timeout for HTTP requests. Default: |
|
If Only useful for internal Meraki developers. Choices:
|
|
If Choices:
|
|
Set whether to use VLAN tagging. Requires Choices:
|
|
Whether to validate HTTP certificates. Choices:
|
|
Enable or disable whether APs should broadcast this SSID. Choices:
|
|
ID number of VLAN on SSID. Requires |
|
Enable or disable walled garden functionality. Choices:
|
|
List of walled garden ranges. |
|
Encryption mode within WPA specification. Choices:
|
Notes
Note
Deleting an SSID does not delete RADIUS servers.
More information about the Meraki API can be found at https://dashboard.meraki.com/api_docs.
Some of the options are likely only used for developers within Meraki.
As of Ansible 2.9, Meraki modules output keys as snake case. To use camel case, set the
ANSIBLE_MERAKI_FORMAT
environment variable tocamelcase
.Ansible’s Meraki modules will stop supporting camel case output in Ansible 2.13. Please update your playbooks.
Check Mode downloads the current configuration from the dashboard, then compares changes against this download. Check Mode will report changed if there are differences in the configurations, but does not submit changes to the API for validation of change.
Examples
- name: Enable and name SSID
meraki_ssid:
auth_key: abc123
state: present
org_name: YourOrg
net_name: WiFi
name: GuestSSID
enabled: true
visible: true
delegate_to: localhost
- name: Set PSK with invalid encryption mode
meraki_ssid:
auth_key: abc123
state: present
org_name: YourOrg
net_name: WiFi
name: GuestSSID
auth_mode: psk
psk: abc1234
encryption_mode: eap
ignore_errors: yes
delegate_to: localhost
- name: Configure RADIUS servers
meraki_ssid:
auth_key: abc123
state: present
org_name: YourOrg
net_name: WiFi
name: GuestSSID
auth_mode: open-with-radius
radius_servers:
- host: 192.0.1.200
port: 1234
secret: abc98765
delegate_to: localhost
- name: Enable click-through splash page
meraki_ssid:
auth_key: abc123
state: present
org_name: YourOrg
net_name: WiFi
name: GuestSSID
splash_page: Click-through splash page
delegate_to: localhost
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
List of wireless SSIDs. Returned: success |
|
Authentication method. Returned: success Sample: |
|
Wireless RF frequency wireless network will be broadcast on. Returned: success Sample: |
|
Enabled state of wireless network. Returned: success Sample: |
|
Wireless traffic encryption method. Returned: success Sample: |
|
Wireless client IP assignment method. Returned: success Sample: |
|
Minimum bitrate a wireless client can connect at. Returned: success Sample: |
|
Name of wireless SSID. This value is what is broadcasted. Returned: success Sample: |
|
Zero-based index number for SSIDs. Returned: success Sample: |
|
Maximum download bandwidth a client can use. Returned: success Sample: |
|
Maximum upload bandwidth a client can use. Returned: success Sample: |
|
Secret wireless password. Returned: success Sample: |
|
Splash page to show when user authenticates. Returned: success Sample: |
|
Whether SSID is administratively accessible. Returned: success Sample: |
|
Enabled WPA versions. Returned: success Sample: |
Status
This module will be removed in version 3.0.0. [deprecated]
For more information see DEPRECATED.