PARALLAX

meraki_mr_l7_firewall

Manage reviewed legacy Meraki settings on the controller

Collection: cisco.meraki

Full Name: cisco.meraki.meraki_mr_l7_firewall

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Manage reviewed legacy Meraki settings on the controller

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
numberstr
ssid_namestr
ruleslist
categoriesbool

Example

yaml
- delegate_to: localhost
  meraki_mr_l7_firewall:
    auth_key: abc123
    net_name: YourNet
    number: 1
    org_name: YourOrg
    state: query
  name: Query firewall rules

- delegate_to: localhost
  meraki_mr_l7_firewall:
    auth_key: abc123
    categories: true
    net_name: YourNet
    number: 1
    org_name: YourOrg
    state: query
  name: Query applications and application categories

- delegate_to: localhost
  meraki_mr_l7_firewall:
    auth_key: abc123
    net_name: YourNet
    number: 1
    org_name: YourOrg
    rules:
        - policy: deny
          port: 8080
          type: port
        - port: 1234
          type: port
        - host: asdf.com
          type: host
        - application:
            id: meraki:layer7/application/205
          type: application
        - application:
            id: meraki:layer7/category/24
          type: application_category
    state: present
  name: Set firewall rules
Search
    ↑ ↓ move↵ openesc close