organizations_login_security
Execute a reviewed Meraki Dashboard API action on the controller
Collection: cisco.meraki
Full Name: cisco.meraki.organizations_login_security
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Execute a reviewed Meraki Dashboard API action on the controller
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| meraki_api_key | str | yes | ||
| meraki_base_url | str | https://api.meraki.com/api/v1 | ||
| meraki_single_request_timeout | int | 60 | ||
| meraki_certificate_path | str | |||
| meraki_requests_proxy | str | |||
| meraki_wait_on_rate_limit | bool | true | ||
| meraki_nginx_429_retry_wait_time | int | 60 | ||
| meraki_action_batch_retry_wait_time | int | 60 | ||
| meraki_retry_4xx_error | bool | false | ||
| meraki_retry_4xx_error_wait_time | int | 60 | ||
| meraki_maximum_retries | int | 2 | ||
| meraki_output_log | bool | true | ||
| meraki_log_path | str | |||
| meraki_log_file_prefix | str | meraki_api_ | ||
| meraki_print_console | bool | true | ||
| meraki_suppress_logging | bool | true | ||
| meraki_simulate | bool | false | ||
| meraki_be_geo_id | str | |||
| meraki_use_iterator_for_get_pages | bool | false | ||
| meraki_inherit_logging_config | bool | false | ||
| state | str | present | ||
| enforcePasswordExpiration | bool | |||
| passwordExpirationDays | int | |||
| enforceDifferentPasswords | bool | |||
| numDifferentPasswords | int | |||
| enforceStrongPasswords | bool | |||
| minimumPasswordLength | int | |||
| enforceAccountLockout | bool | |||
| accountLockoutAttempts | int | |||
| enforceIdleTimeout | bool | |||
| idleTimeoutMinutes | int | |||
| enforceTwoFactorAuth | bool | |||
| enforceLoginIpRanges | bool | |||
| loginIpRanges | list | |||
| enforceLockedIpSessions | bool | |||
| apiAuthentication | dict | |||
| organizationId | str |
Example
yaml
- name: Run Meraki controller action
cisco.meraki.organizations_login_security:
meraki_api_key: '{{ meraki_key }}'
meraki_suppress_logging: true
enforcePasswordExpiration: false
passwordExpirationDays: 1
enforceDifferentPasswords: false
numDifferentPasswords: 1
enforceStrongPasswords: false
minimumPasswordLength: 1
enforceAccountLockout: false
accountLockoutAttempts: 1
enforceIdleTimeout: false
idleTimeoutMinutes: 1
enforceTwoFactorAuth: false
enforceLoginIpRanges: false
loginIpRanges: []
enforceLockedIpSessions: false
apiAuthentication: {}
organizationId: 'example'