cisco.meraki.meraki_mr_ssid – Manage wireless SSIDs in the Meraki cloud
Note
This plugin is part of the cisco.meraki collection (version 2.5.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
.
Parameters
Parameter |
Comments |
---|---|
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 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:
|
|
Hostname for Meraki dashboard. Can be used to access regional Meraki environments, such as China. Default: “api.meraki.com” |
|
Number of seconds to retry if server returns an internal server error. Default: 60 |
|
Method of which SSID uses to assign IP addresses. 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: 165 |
|
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: 30 |
|
If Only useful for internal Meraki developers. Choices:
|
|
If Choices:
|
|
Set whether to use VLAN tagging. Requires Choices:
|
|
Whether to validate HTTP certificates. 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
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: “psk” |
|
Wireless RF frequency wireless network will be broadcast on. Returned: success Sample: “5 GHz band only” |
|
Enabled state of wireless network. Returned: success Sample: true |
|
Wireless traffic encryption method. Returned: success Sample: “wpa” |
|
Wireless client IP assignment method. Returned: success Sample: “NAT mode” |
|
Minimum bitrate a wireless client can connect at. Returned: success Sample: 11 |
|
Name of wireless SSID. This value is what is broadcasted. Returned: success Sample: “CorpWireless” |
|
Zero-based index number for SSIDs. Returned: success Sample: 0 |
|
Maximum download bandwidth a client can use. Returned: success Sample: 0 |
|
Maximum upload bandwidth a client can use. Returned: success Sample: 1000 |
|
Secret wireless password. Returned: success Sample: “SecretWiFiPass” |
|
Splash page to show when user authenticates. Returned: success Sample: “Click-through splash page” |
|
Whether SSID is administratively accessible. Returned: success Sample: true |
|
Enabled WPA versions. Returned: success Sample: “WPA2 only” |
Authors
Kevin Breit (@kbreit)