Deprecated

Removed in 2.12

i

Reason:Consolidating code base. | Alternative:Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.

community.general.panos_sag (0.1.1) — module

Create a static address group.

Authors: Vinay Venkataraghavan (@vinayvenkat)

deprecated | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

Description

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


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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", ]

Inputs

    
tags:
    description:
    - Tags to be associated with the address group

commit:
    default: 'yes'
    description:
    - commit if changed
    type: bool

api_key:
    description:
    - API key that can be used instead of I(username)/I(password) credentials.

password:
    description:
    - Password for authentication.
    required: true
    type: str

sag_name:
    description:
    - name of the dynamic address group
    required: true

username:
    default: admin
    description:
    - Username for authentication.
    type: str

operation:
    choices:
    - add
    - list
    - delete
    description:
    - The operation to perform Supported values are I(add)/I(list)/I(delete).
    required: true

ip_address:
    description:
    - IP address (or hostname) of PAN-OS device.
    required: true
    type: str

description:
    description:
    - The purpose / objective of the static Address Group

devicegroup:
    description: '- 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.

      '

sag_match_filter:
    description:
    - Static filter user by the address group
    type: list