cisco.meraki.organizations_wireless_ssids_profiles module – Resource module for organizations _wireless _ssids _profiles

Note

This module is part of the cisco.meraki collection (version 2.26.1).

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. You need further requirements to be able to use this module, see Requirements for details.

To use it in a playbook, specify: cisco.meraki.organizations_wireless_ssids_profiles.

New in cisco.meraki 1.0.0

Synopsis

  • Manage operations create, update and delete of the resource organizations _wireless _ssids _profiles.

  • Create a new SSID profile in an organization.

  • Delete an SSID profile.

  • Update this SSID profile.

Note

This module has a corresponding action plugin.

Requirements

The below requirements are needed on the host that executes this module.

  • meraki >= 2.4.9

  • python >= 3.5

Parameters

Parameter

Comments

id

string

Id path parameter.

meraki_action_batch_retry_wait_time

integer

meraki_action_batch_retry_wait_time (integer), action batch concurrency error retry wait time

Default: 60

meraki_api_key

string / required

meraki_api_key (string), API key generated in dashboard; can also be set as an environment variable MERAKI_DASHBOARD_API_KEY

meraki_base_url

string

meraki_base_url (string), preceding all endpoint resources

Default: "https://api.meraki.com/api/v1"

meraki_be_geo_id

string

meraki_be_geo_id (string), optional partner identifier for API usage tracking; can also be set as an environment variable BE_GEO_ID

Default: ""

meraki_caller

string

meraki_caller (string), optional identifier for API usage tracking; can also be set as an environment variable MERAKI_PYTHON_SDK_CALLER

Default: ""

meraki_certificate_path

string

meraki_certificate_path (string), path for TLS/SSL certificate verification if behind local proxy

Default: ""

meraki_inherit_logging_config

boolean

meraki_inherit_logging_config (boolean), Inherits your own logger instance

Choices:

  • false ← (default)

  • true

meraki_log_file_prefix

string

meraki_log_file_prefix (string), log file name appended with date and timestamp

Default: "meraki_api_"

meraki_log_path

string

log_path (string), path to output log; by default, working directory of script if not specified

Default: ""

meraki_maximum_retries

integer

meraki_maximum_retries (integer), retry up to this many times when encountering 429s or other server-side errors

Default: 2

meraki_nginx_429_retry_wait_time

integer

meraki_nginx_429_retry_wait_time (integer), Nginx 429 retry wait time

Default: 60

meraki_output_log

boolean

meraki_output_log (boolean), create an output log file?

Choices:

  • false

  • true ← (default)

meraki_print_console

boolean

meraki_print_console (boolean), print logging output to console?

Choices:

  • false

  • true ← (default)

meraki_requests_proxy

string

meraki_requests_proxy (string), proxy server and port, if needed, for HTTPS

Default: ""

meraki_retry_4xx_error

boolean

meraki_retry_4xx_error (boolean), retry if encountering other 4XX error (besides 429)?

Choices:

  • false ← (default)

  • true

meraki_retry_4xx_error_wait_time

integer

meraki_retry_4xx_error_wait_time (integer), other 4XX error retry wait time

Default: 60

meraki_simulate

boolean

meraki_simulate (boolean), simulate POST/PUT/DELETE calls to prevent changes?

Choices:

  • false ← (default)

  • true

meraki_single_request_timeout

integer

meraki_single_request_timeout (integer), maximum number of seconds for each API call

Default: 60

meraki_suppress_logging

boolean

meraki_suppress_logging (boolean), disable all logging? you’re on your own then!

Choices:

  • false ← (default)

  • true

meraki_use_iterator_for_get_pages

boolean

meraki_use_iterator_for_get_pages (boolean), list* methods will return an iterator with each object instead of a complete list with all items

Choices:

  • false ← (default)

  • true

meraki_wait_on_rate_limit

boolean

meraki_wait_on_rate_limit (boolean), retry if 429 rate limit error encountered?

Choices:

  • false

  • true ← (default)

name

string

Name of the SSID profile.

organizationId

string

OrganizationId path parameter. Organization ID.

precedence

dictionary

Precedence configuration for the SSID profile.

radius

string

Source of RADIUS configuration - ‘profile’ means profile-level config takes precedence, ‘network’ means SSID-level config takes precedence.

ssid

dictionary

SSID configuration for the profile.

addressing

dictionary

Addressing settings for the SSID.

bonjourForwarding

dictionary

Bonjour forwarding settings.

enabled

boolean

Whether Bonjour forwarding is enabled.

Choices:

  • false

  • true

rules

list / elements=dictionary

Bonjour forwarding rules.

description

string

Description of the rule.

services

list / elements=string

Services.

vlan

dictionary

VLAN settings for the rule.

id

integer

VLAN ID.

mdns

dictionary

MDNS gateway settings and rules for an SSID and cluster.

enabled

boolean

If true, mDNS is enabled for the SSID or cluster.

Choices:

  • false

  • true

rules

list / elements=dictionary

List of mDNS forwarding rules.

services

list / elements=string

Predefined or same-organization custom mDNS service keys.

mode

string

Addressing mode.

radius

dictionary

RADIUS addressing settings.

guest

dictionary

Guest VLAN settings.

vlan

dictionary

VLAN settings for guest networks.

enabled

boolean

Whether guest VLAN is enabled.

Choices:

  • false

  • true

overrideVlanTag

boolean

Whether to override VLAN tag.

Choices:

  • false

  • true

advertisement

dictionary

SSID advertisement settings.

enabled

boolean

Whether the SSID is advertised.

Choices:

  • false

  • true

name

string

SSID name.

radius

dictionary

RADIUS settings for the SSID.

accounting

dictionary

RADIUS accounting settings.

enabled

boolean

Whether RADIUS accounting is enabled.

Choices:

  • false

  • true

updateInterval

integer

Update interval for RADIUS accounting.

das

dictionary

Direct Access Server settings.

coa

dictionary

Change of Authorization settings.

enabled

boolean

Whether CoA is enabled.

Choices:

  • false

  • true

eapTimers

dictionary

Update the EAP timers settings.

eapolKey

dictionary

EAPOL Key settings.

maxRetries

integer

Maximum number of EAPOL key retries.

timeoutInMs

integer

EAPOL Key timeout in milliseconds.

identity

dictionary

EAP settings for identity requests.

maxRetries

integer

Maximum number of EAP retries.

timeout

integer

EAP timeout in seconds.

maxRetries

integer

Maximum number of general EAP retries.

timeout

integer

General EAP timeout in seconds.

identifiers

dictionary

RADIUS identifiers.

calledStation

string

Called station identifier.

nas

string

NAS identifier.

policies

dictionary

RADIUS policies.

attribute

string

RADIUS attribute for policies.

failover

dictionary

Failover policy.

mode

string

Failover mode.

fallback

dictionary

Fallback policy.

enabled

boolean

Whether fallback is enabled.

Choices:

  • false

  • true

loadBalancing

dictionary

Load balancing policy.

mode

string

Load balancing mode.

proxy

dictionary

RADIUS proxy settings.

enabled

boolean

Whether RADIUS proxy is enabled.

Choices:

  • false

  • true

servers

list / elements=dictionary

Organization RADIUS servers, ordered by priority.

id

string

RADIUS server ID.

testing

dictionary

RADIUS testing settings.

enabled

boolean

Whether RADIUS testing is enabled.

Choices:

  • false

  • true

security

dictionary

Security settings for the SSID.

encryption

dictionary

Encryption settings for the SSID.

akms

list / elements=string

Authentication key management systems used by the SSID (applicable for WPA3 only).

ciphers

list / elements=string

Encryption ciphers used by the SSID (applicable for WPA3 only).

dot11r

dictionary

802.11r settings.

adaptive

boolean

Whether 802.11r is adaptive.

Choices:

  • false

  • true

enabled

boolean

Whether 802.11r is enabled.

Choices:

  • false

  • true

dot11w

dictionary

802.11w settings.

enabled

boolean

Whether 802.11w is enabled.

Choices:

  • false

  • true

required

boolean

Whether 802.11w is required.

Choices:

  • false

  • true

passphrase

string

Passphrase for the SSID.

identityPassphrase

dictionary

Identity passphrase settings.

personalNetwork

dictionary

Personal network settings.

enabled

boolean

Whether personal network is enabled.

Choices:

  • false

  • true

mode

string

Security mode of the SSID.

protocol

string

Security protocol used by the SSID.

splash

dictionary

Splash settings for the SSID.

auth

dictionary

Authentication-related splash settings.

oauth

dictionary

OAuth settings.

domains

list / elements=string

Email domains allowed by OAuth.

simultaneousLogins

dictionary

Simultaneous login settings.

enabled

boolean

Allow the same credentials to be used on multiple devices simultaneously.

Choices:

  • false

  • true

captivePortal

dictionary

Captive portal configuration.

external

dictionary

External captive portal configuration.

url

string

External captive portal URL.

hosted

dictionary

Hosted splash configuration.

dictionary

User consent settings.

string

Consent message displayed to users.

boolean

Whether users must provide consent.

Choices:

  • false

  • true

language

dictionary

Splash page language.

code

string

Language code.

theme

dictionary

Hosted theme.

id

string

Splash theme identifier.

provider

string

Captive portal provider selection.

controllerUnreachable

dictionary

Behavior when the Meraki Cloud Splash controller is unreachable.

mode

string

How authentication attempts are handled when the controller is unreachable.

mode

string

Splash mode.

preAccess

dictionary

Pre-access settings before splash completion.

mode

string

Pre-access mode.

walledGarden

dictionary

Walled garden settings.

enabled

boolean

Allow access to specific IP ranges and domains before Splash.

Choices:

  • false

  • true

ranges

list / elements=string

List of IP address ranges and domains accessible before Splash.

redirect

dictionary

Post-Splash redirect settings.

override

dictionary

Override settings for post-Splash redirection.

enabled

boolean

Whether users will be redirected to a configured URL after completing the Splash or to the their originally requested URL.

Choices:

  • false

  • true

url

string

Custom URL where users will be redirected after completing the Splash.

timeout

integer

Splash timeout in minutes. How often users must complete the Splash.

Notes

Note

  • SDK Method used are wireless.Wireless.create_organization_wireless_ssids_profile, wireless.Wireless.delete_organization_wireless_ssids_profile, wireless.Wireless.update_organization_wireless_ssids_profile,

  • Paths used are post /organizations/{organizationId}/wireless/ssids/profiles, delete /organizations/{organizationId}/wireless/ssids/profiles/{id}, put /organizations/{organizationId}/wireless/ssids/profiles/{id},

  • Does not support check_mode

  • The plugin runs on the control node and does not use any ansible connection plugins, but instead the embedded connection manager

  • from Cisco Dashboard API Python(SDK)

  • The parameters starting with meraki_ are used by the Cisco Meraki Python SDK to establish the connection

See Also

See also

Cisco Meraki documentation for wireless createOrganizationWirelessSsidsProfile

Complete reference of the createOrganizationWirelessSsidsProfile API.

Cisco Meraki documentation for wireless deleteOrganizationWirelessSsidsProfile

Complete reference of the deleteOrganizationWirelessSsidsProfile API.

Cisco Meraki documentation for wireless updateOrganizationWirelessSsidsProfile

Complete reference of the updateOrganizationWirelessSsidsProfile API.

Examples

- name: Create
  cisco.meraki.organizations_wireless_ssids_profiles:
    meraki_api_key: "{{ meraki_api_key }}"
    meraki_base_url: "{{ meraki_base_url }}"
    meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
    meraki_certificate_path: "{{ meraki_certificate_path }}"
    meraki_requests_proxy: "{{ meraki_requests_proxy }}"
    meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
    meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
    meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
    meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
    meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
    meraki_maximum_retries: "{{ meraki_maximum_retries }}"
    meraki_output_log: "{{ meraki_output_log }}"
    meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
    meraki_log_path: "{{ meraki_log_path }}"
    meraki_print_console: "{{ meraki_print_console }}"
    meraki_suppress_logging: "{{ meraki_suppress_logging }}"
    meraki_simulate: "{{ meraki_simulate }}"
    meraki_be_geo_id: "{{ meraki_be_geo_id }}"
    meraki_caller: "{{ meraki_caller }}"
    meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
    meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
    state: present
    name: Guest Profile
    organizationId: string
    precedence:
      radius: profile
    ssid:
      addressing:
        bonjourForwarding:
          enabled: true
          rules:
            - description: Desc
              services:
                - All Services
              vlan:
                id: 1
        mdns:
          enabled: true
          rules:
            - services:
                - airplay
                - custom_42
        mode: Bridge mode
        radius:
          guest:
            vlan:
              enabled: true
          overrideVlanTag: false
      advertisement:
        enabled: true
      name: SSID name
      radius:
        accounting:
          enabled: true
          updateInterval: 60
        das:
          coa:
            enabled: true
        eapTimers:
          eapolKey:
            maxRetries: 2
            timeoutInMs: 5000
          identity:
            maxRetries: 5
            timeout: 5
          maxRetries: 2
          timeout: 5
        identifiers:
          calledStation: '1'
          nas: some-nas-identifier
        policies:
          attribute: Filter-Id
          failover:
            mode: deny
          fallback:
            enabled: false
          loadBalancing:
            mode: priority
        proxy:
          enabled: false
        servers:
          - id: '1'
        testing:
          enabled: true
      security:
        encryption:
          akms:
            - SAE
            - SAE-EXT
          ciphers:
            - GCMP 256
          dot11r:
            adaptive: false
            enabled: false
          dot11w:
            enabled: true
            required: true
          passphrase: example-passphrase
        identityPassphrase:
          personalNetwork:
            enabled: true
        mode: psk
        protocol: WPA3 only
      splash:
        auth:
          oauth:
            domains:
              - example.com
              - subdomain.example.com
          simultaneousLogins:
            enabled: false
        captivePortal:
          external:
            url: https://example.com/splash
          hosted:
            consent:
              message: By continuing, you agree to our terms and conditions.
              required: true
            language:
              code: EN
            theme:
              id: c3ddcb4f16785ee747ab5ffc10867d6c8ea704be
          provider: hosted
        controllerUnreachable:
          mode: default
        mode: click-through
        preAccess:
          mode: block-all
          walledGarden:
            enabled: true
            ranges:
              - 192.168.1.0/24
              - 10.0.0.0/8
        redirect:
          override:
            enabled: true
            url: https://example.com/redirect
        timeout: 1440
- name: Update by id
  cisco.meraki.organizations_wireless_ssids_profiles:
    meraki_api_key: "{{ meraki_api_key }}"
    meraki_base_url: "{{ meraki_base_url }}"
    meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
    meraki_certificate_path: "{{ meraki_certificate_path }}"
    meraki_requests_proxy: "{{ meraki_requests_proxy }}"
    meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
    meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
    meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
    meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
    meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
    meraki_maximum_retries: "{{ meraki_maximum_retries }}"
    meraki_output_log: "{{ meraki_output_log }}"
    meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
    meraki_log_path: "{{ meraki_log_path }}"
    meraki_print_console: "{{ meraki_print_console }}"
    meraki_suppress_logging: "{{ meraki_suppress_logging }}"
    meraki_simulate: "{{ meraki_simulate }}"
    meraki_be_geo_id: "{{ meraki_be_geo_id }}"
    meraki_caller: "{{ meraki_caller }}"
    meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
    meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
    state: present
    id: string
    name: Guest Profile
    organizationId: string
    ssid:
      addressing:
        bonjourForwarding:
          enabled: true
          rules:
            - description: Desc
              services:
                - All Services
              vlan:
                id: 1
        mdns:
          enabled: true
          rules:
            - services:
                - airplay
                - custom_42
        radius:
          guest:
            vlan:
              enabled: true
          overrideVlanTag: false
      advertisement:
        enabled: true
      name: SSID name
      radius:
        accounting:
          enabled: true
          updateInterval: 60
        das:
          coa:
            enabled: true
        eapTimers:
          eapolKey:
            maxRetries: 2
            timeoutInMs: 5000
          identity:
            maxRetries: 5
            timeout: 5
          maxRetries: 2
          timeout: 5
        identifiers:
          calledStation: '1'
          nas: some-nas-identifier
        policies:
          attribute: Filter-Id
          failover:
            mode: deny
          fallback:
            enabled: false
          loadBalancing:
            mode: priority
        proxy:
          enabled: false
        servers:
          - id: '1'
        testing:
          enabled: true
      security:
        encryption:
          akms:
            - SAE
            - SAE-EXT
          ciphers:
            - GCMP 256
          dot11r:
            adaptive: false
            enabled: false
          dot11w:
            enabled: true
            required: true
          passphrase: example-passphrase
        identityPassphrase:
          personalNetwork:
            enabled: true
        mode: psk
        protocol: WPA3 only
      splash:
        auth:
          oauth:
            domains:
              - example.com
              - subdomain.example.com
          simultaneousLogins:
            enabled: false
        captivePortal:
          external:
            url: https://example.com/splash
          hosted:
            consent:
              message: By continuing, you agree to our terms and conditions.
              required: true
            language:
              code: EN
            theme:
              id: c3ddcb4f16785ee747ab5ffc10867d6c8ea704be
          provider: hosted
        controllerUnreachable:
          mode: default
        mode: click-through
        preAccess:
          mode: block-all
          walledGarden:
            enabled: true
            ranges:
              - 192.168.1.0/24
              - 10.0.0.0/8
        redirect:
          override:
            enabled: true
            url: https://example.com/redirect
        timeout: 1440
- name: Delete by id
  cisco.meraki.organizations_wireless_ssids_profiles:
    meraki_api_key: "{{ meraki_api_key }}"
    meraki_base_url: "{{ meraki_base_url }}"
    meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
    meraki_certificate_path: "{{ meraki_certificate_path }}"
    meraki_requests_proxy: "{{ meraki_requests_proxy }}"
    meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
    meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
    meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
    meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
    meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
    meraki_maximum_retries: "{{ meraki_maximum_retries }}"
    meraki_output_log: "{{ meraki_output_log }}"
    meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
    meraki_log_path: "{{ meraki_log_path }}"
    meraki_print_console: "{{ meraki_print_console }}"
    meraki_suppress_logging: "{{ meraki_suppress_logging }}"
    meraki_simulate: "{{ meraki_simulate }}"
    meraki_be_geo_id: "{{ meraki_be_geo_id }}"
    meraki_caller: "{{ meraki_caller }}"
    meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
    meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
    state: absent
    id: string
    organizationId: string

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

meraki_response

dictionary

A dictionary or list with the response returned by the Cisco Meraki Python SDK

Returned: always

Sample: {"id": "string", "name": "string", "precedence": {"radius": "string"}, "ssid": {"addressing": {"adultContentFiltering": {"enabled": true}, "bonjourForwarding": {"enabled": true, "rules": [{"description": "string", "services": ["string"], "vlan": {"id": 0}}]}, "dnsRewrite": {"dnsCustomNameservers": ["string"], "enabled": true}, "mdns": {"enabled": true, "rules": [{"services": ["string"]}]}, "mode": "string", "radius": {"guest": {"vlan": {"enabled": true}}, "overrideVlanTag": true}}, "advertisement": {"enabled": true}, "name": "string", "radius": {"accounting": {"enabled": true, "updateInterval": 0}, "das": {"coa": {"enabled": true}}, "eapTimers": {"eapolKey": {"maxRetries": 0, "timeoutInMs": 0}, "identity": {"maxRetries": 0, "timeout": 0}, "maxRetries": 0, "timeout": 0}, "identifiers": {"calledStation": "string", "nas": "string"}, "policies": {"attribute": "string", "failover": {"mode": "string"}, "fallback": {"enabled": true}, "loadBalancing": {"mode": "string"}, "numAttempts": 0, "timeout": 0}, "proxy": {"enabled": true}, "servers": [{"address": "string", "id": 0, "modes": [{"mode": "string", "port": 0}], "name": "string"}], "testing": {"enabled": true}}, "security": {"dhcp": {"mandatory": {"enabled": true}}, "encryption": {"akms": ["string"], "ciphers": ["string"]}, "mode": "string", "protocol": "string"}, "splash": {"auth": {"oauth": {"domains": ["string"]}, "simultaneousLogins": {"enabled": true}}, "captivePortal": {"external": {"url": "string"}, "hosted": {"consent": {"message": "string", "required": true}, "language": {"code": "string"}, "theme": {"id": "string"}}, "provider": "string"}, "controllerUnreachable": {"mode": "string"}, "mode": "string", "preAccess": {"mode": "string", "walledGarden": {"enabled": true, "ranges": ["string"]}}, "redirect": {"override": {"enabled": true, "url": "string"}}, "timeout": 0}}}

Authors

  • Francisco Munoz (@fmunoz)