PARALLAX

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

NameTypeRequiredDefaultDescription
auth_keystryes
hoststrapi.meraki.com
use_proxyboolfalse
use_httpsbooltrue
validate_certsbooltrue
output_formatstrsnakecase
output_levelstrnormal
timeoutint30
org_namestr
org_idstr
rate_limit_retry_timeint165
internal_error_retry_timeint60
statestrpresent
net_namestr
net_idstr
action_batch_idstr
confirmedboolfalse
synchronousbooltrue
actionslist

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
Search
    ↑ ↓ move↵ openesc close