panos_sag – Create a static address group

New in version 2.4.

DEPRECATED

Removed in Ansible

version: 2.12

Why

This module’s functionality is a subset of panos_address_group.

Alternative

Use panos_address_group instead.

Synopsis

  • Create a static address group object in the firewall used for policy rules.

Requirements

The below requirements are needed on the host that executes this module.

Parameters

Parameter Choices/Defaults Comments
api_key
-
API key that can be used instead of username/password credentials.
commit
-
Default:
yes
commit if changed
description
-
Default:
None
The purpose / objective of the static Address Group
devicegroup
-
Default:
None
- The name of the Panorama device group. The group must exist on Panorama. If device group is not defined it is assumed that we are contacting a firewall.
ip_address
- / required
Default:
None
IP address (or hostname) of PAN-OS device
operation
- / required
Default:
None
The operation to perform Supported values are add/list/delete.
password
- / required
Default:
None
password for authentication
sag_name
- / required
Default:
None
name of the dynamic address group
static_match_filter
- / required
Default:
None
Static filter used by the address group
tags
-
Default:
None
Tags to be associated with the address group
username
-
Default:
admin
username for authentication

Examples

- name: sag
  panos_sag:
    ip_address: "192.168.1.1"
    password: "admin"
    sag_name: "sag-1"
    static_value: ['test-addresses', ]
    description: "A description for the static address group"
    tags: ["tags to be associated with the group", ]

Status

  • This module will be removed in version 2.12. [deprecated]

  • For more information see DEPRECATED.

Authors

  • Vinay Venkataraghavan @vinayvenkat