meraki_action_batch
Manage Meraki action batch jobs
Collection: cisco.meraki
Full Name: cisco.meraki.meraki_action_batch
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage Meraki action batch jobs
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 | ||
| state | str | present | ||
| net_name | str | |||
| net_id | str | |||
| action_batch_id | str | |||
| confirmed | bool | false | ||
| synchronous | bool | true | ||
| actions | list |
Example
yaml
- delegate_to: localhost
meraki_action_batch:
auth_key: abc123
org_name: YourOrg
state: query
name: Query all Action Batches
- delegate_to: localhost
meraki_action_batch:
action_batch_id: 12345
auth_key: abc123
org_name: YourOrg
state: query
name: Query one Action Batch job
- delegate_to: localhost
meraki_action_batch:
actions:
- body:
name: AnsibleActionBatch1
productTypes:
- switch
operation: create
resource: /organizations/org_123/networks
auth_key: abc123
org_name: YourOrg
state: present
name: Create an Action Batch job
- meraki_action_batch:
action_batch_id: 12345
auth_key: abc123
org_name: YourOrg
state: present
synchronous: false
name: Update Action Batch job
- delegate_to: localhost
meraki_action_batch:
actions:
- body:
name: AnsibleActionBatch2
productTypes:
- switch
operation: create
resource: /organizations/org_123/networks
- body:
name: AnsibleActionBatch3
productTypes:
- switch
operation: create
resource: /organizations/org_123/networks
auth_key: abc123
org_name: YourOrg
state: present
name: Create an Action Batch job with multiple actions
- delegate_to: localhost
meraki_action_batch:
action_batch_id: 12345
auth_key: abc123
org_name: YourOrg
state: absent
name: Delete an Action Batch job