`.
.. Aliases
.. Requirements
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module_requirements:
Requirements
------------
The below requirements are needed on the host that executes this module.
- meraki \>= 2.4.9
- python \>= 3.5
.. Options
Parameters
----------
.. tabularcolumns:: \X{1}{3}\X{2}{3}
.. list-table::
:width: 100%
:widths: auto
:header-rows: 1
:class: longtable ansible-option-table
* - Parameter
- Comments
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_action_batch_retry_wait_time:
.. rst-class:: ansible-option-title
**meraki_action_batch_retry_wait_time**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`integer`
.. raw:: html
- .. raw:: html
meraki\_action\_batch\_retry\_wait\_time (integer), action batch concurrency error retry wait time
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`60`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_api_key:
.. rst-class:: ansible-option-title
**meraki_api_key**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string` / :ansible-option-required:`required`
.. raw:: html
- .. raw:: html
meraki\_api\_key (string), API key generated in dashboard; can also be set as an environment variable MERAKI\_DASHBOARD\_API\_KEY
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_base_url:
.. rst-class:: ansible-option-title
**meraki_base_url**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
meraki\_base\_url (string), preceding all endpoint resources
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`"https://api.meraki.com/api/v1"`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_be_geo_id:
.. rst-class:: ansible-option-title
**meraki_be_geo_id**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
meraki\_be\_geo\_id (string), optional partner identifier for API usage tracking; can also be set as an environment variable BE\_GEO\_ID
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`""`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_caller:
.. rst-class:: ansible-option-title
**meraki_caller**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
meraki\_caller (string), optional identifier for API usage tracking; can also be set as an environment variable MERAKI\_PYTHON\_SDK\_CALLER
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`""`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_certificate_path:
.. rst-class:: ansible-option-title
**meraki_certificate_path**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
meraki\_certificate\_path (string), path for TLS/SSL certificate verification if behind local proxy
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`""`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_inherit_logging_config:
.. rst-class:: ansible-option-title
**meraki_inherit_logging_config**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
- .. raw:: html
meraki\_inherit\_logging\_config (boolean), Inherits your own logger instance
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)`
- :ansible-option-choices-entry:`true`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_log_file_prefix:
.. rst-class:: ansible-option-title
**meraki_log_file_prefix**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
meraki\_log\_file\_prefix (string), log file name appended with date and timestamp
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`"meraki\_api\_"`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_log_path:
.. rst-class:: ansible-option-title
**meraki_log_path**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
log\_path (string), path to output log; by default, working directory of script if not specified
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`""`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_maximum_retries:
.. rst-class:: ansible-option-title
**meraki_maximum_retries**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`integer`
.. raw:: html
- .. raw:: html
meraki\_maximum\_retries (integer), retry up to this many times when encountering 429s or other server\-side errors
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`2`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_nginx_429_retry_wait_time:
.. rst-class:: ansible-option-title
**meraki_nginx_429_retry_wait_time**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`integer`
.. raw:: html
- .. raw:: html
meraki\_nginx\_429\_retry\_wait\_time (integer), Nginx 429 retry wait time
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`60`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_output_log:
.. rst-class:: ansible-option-title
**meraki_output_log**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
- .. raw:: html
meraki\_output\_log (boolean), create an output log file?
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry:`false`
- :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_print_console:
.. rst-class:: ansible-option-title
**meraki_print_console**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
- .. raw:: html
meraki\_print\_console (boolean), print logging output to console?
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry:`false`
- :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_requests_proxy:
.. rst-class:: ansible-option-title
**meraki_requests_proxy**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
meraki\_requests\_proxy (string), proxy server and port, if needed, for HTTPS
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`""`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_retry_4xx_error:
.. rst-class:: ansible-option-title
**meraki_retry_4xx_error**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
- .. raw:: html
meraki\_retry\_4xx\_error (boolean), retry if encountering other 4XX error (besides 429)?
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)`
- :ansible-option-choices-entry:`true`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_retry_4xx_error_wait_time:
.. rst-class:: ansible-option-title
**meraki_retry_4xx_error_wait_time**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`integer`
.. raw:: html
- .. raw:: html
meraki\_retry\_4xx\_error\_wait\_time (integer), other 4XX error retry wait time
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`60`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_simulate:
.. rst-class:: ansible-option-title
**meraki_simulate**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
- .. raw:: html
meraki\_simulate (boolean), simulate POST/PUT/DELETE calls to prevent changes?
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)`
- :ansible-option-choices-entry:`true`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_single_request_timeout:
.. rst-class:: ansible-option-title
**meraki_single_request_timeout**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`integer`
.. raw:: html
- .. raw:: html
meraki\_single\_request\_timeout (integer), maximum number of seconds for each API call
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`60`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_suppress_logging:
.. rst-class:: ansible-option-title
**meraki_suppress_logging**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
- .. raw:: html
meraki\_suppress\_logging (boolean), disable all logging? you're on your own then!
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)`
- :ansible-option-choices-entry:`true`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_use_iterator_for_get_pages:
.. rst-class:: ansible-option-title
**meraki_use_iterator_for_get_pages**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
- .. raw:: html
meraki\_use\_iterator\_for\_get\_pages (boolean), list\* methods will return an iterator with each object instead of a complete list with all items
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)`
- :ansible-option-choices-entry:`true`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-meraki_wait_on_rate_limit:
.. rst-class:: ansible-option-title
**meraki_wait_on_rate_limit**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
- .. raw:: html
meraki\_wait\_on\_rate\_limit (boolean), retry if 429 rate limit error encountered?
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry:`false`
- :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-networkid:
.. rst-class:: ansible-option-title
**networkId**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
NetworkId path parameter. Network ID.
.. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-rules:
.. rst-class:: ansible-option-title
**rules**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary`
.. raw:: html
- .. raw:: html
An ordered array of the firewall rules (not including the default rule).
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-rules/comment:
.. rst-class:: ansible-option-title
**comment**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Description of the rule (optional).
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-rules/destcidr:
.. rst-class:: ansible-option-title
**destCidr**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Comma\-separated list of destination IP address(es) (in IP or CIDR notation), fully\-qualified domain names (FQDN) or 'any'.
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-rules/destport:
.. rst-class:: ansible-option-title
**destPort**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Comma\-separated list of destination port(s) (integer in the range 1\-65535), or 'any'.
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-rules/policy:
.. rst-class:: ansible-option-title
**policy**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
'allow' or 'deny' traffic specified by this rule.
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-rules/protocol:
.. rst-class:: ansible-option-title
**protocol**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any').
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-rules/srccidr:
.. rst-class:: ansible-option-title
**srcCidr**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Comma\-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note FQDN not supported for source addresses).
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-rules/srcport:
.. rst-class:: ansible-option-title
**srcPort**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Comma\-separated list of source port(s) (integer in the range 1\-65535), or 'any'.
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__parameter-rules/syslogenabled:
.. rst-class:: ansible-option-title
**syslogEnabled**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Log this rule to syslog (true or false, boolean value) \- only applicable if a syslog has been configured (optional).
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry:`false`
- :ansible-option-choices-entry:`true`
.. raw:: html
.. Attributes
.. Notes
Notes
-----
.. note::
- SDK Method used are appliance.Appliance.update\_network\_appliance\_firewall\_inbound\_cellular\_firewall\_rules,
- Paths used are put /networks/{networkId}/appliance/firewall/inboundCellularFirewallRules,
- Does not support :literal:`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
.. Seealso
See Also
--------
.. seealso::
`Cisco Meraki documentation for appliance updateNetworkApplianceFirewallInboundCellularFirewallRules `_
Complete reference of the updateNetworkApplianceFirewallInboundCellularFirewallRules API.
.. Examples
Examples
--------
.. code-block:: yaml+jinja
- name: Update all
cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules:
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
networkId: string
rules:
- comment: Allow TCP traffic to subnet with HTTP servers.
destCidr: 192.168.1.0/24
destPort: '443'
policy: allow
protocol: tcp
srcCidr: Any
srcPort: Any
syslogEnabled: false
.. Facts
.. Return values
Return Values
-------------
Common return values are documented :ref:`here `, the following are the fields unique to this module:
.. tabularcolumns:: \X{1}{3}\X{2}{3}
.. list-table::
:width: 100%
:widths: auto
:header-rows: 1
:class: longtable ansible-option-table
* - Key
- Description
* - .. raw:: html
.. _ansible_collections.cisco.meraki.networks_appliance_firewall_inbound_cellular_firewall_rules_module__return-meraki_response:
.. rst-class:: ansible-option-title
**meraki_response**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`dictionary`
.. raw:: html
- .. raw:: html
A dictionary or list with the response returned by the Cisco Meraki Python SDK
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` always
.. rst-class:: ansible-option-line
.. rst-class:: ansible-option-sample
:ansible-option-sample-bold:`Sample:` :ansible-rv-sample-value:`"[\\n {\\n \\"comment\\": \\"string\\",\\n \\"policy\\": \\"string\\",\\n \\"protocol\\": \\"string\\",\\n \\"srcPort\\": \\"string\\",\\n \\"srcCidr\\": \\"string\\",\\n \\"destPort\\": \\"string\\",\\n \\"destCidr\\": \\"string\\",\\n \\"syslogEnabled\\": true\\n }\\n]\\n"`
.. raw:: html
.. Status (Presently only deprecated)
.. Authors
Authors
~~~~~~~
- Francisco Munoz (@fmunoz)
.. Extra links
Collection links
~~~~~~~~~~~~~~~~
.. ansible-links::
- title: "Issue Tracker"
url: "https://github.com/meraki/dashboard-api-ansible/issues"
external: true
- title: "Repository (Sources)"
url: "https://github.com/meraki/dashboard-api-ansible"
external: true
.. Parsing errors