paloaltonetworks.panos.panos_sag module – Create a static address group.
Note
This module is part of the paloaltonetworks.panos collection (version 2.13.2).
To install it, use: ansible-galaxy collection install paloaltonetworks.panos
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: paloaltonetworks.panos.panos_sag
.
New in paloaltonetworks.panos 1.0.0
DEPRECATED
- Removed in:
version 3.0.0
- Why:
This module’s functionality is a subset of paloaltonetworks.panos.panos_address_group.
- Alternative:
Use paloaltonetworks.panos.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.
pan-python can be obtained from PyPI https://pypi.python.org/pypi/pan-python
pandevice can be obtained from PyPI https://pypi.python.org/pypi/pandevice
xmltodict can be obtained from PyPI https://pypi.python.org/pypi/xmltodict
Parameters
Parameter |
Comments |
---|---|
API key that can be used instead of username/password credentials. |
|
Deprecated Please use paloaltonetworks.panos.panos_commit_firewall, paloaltonetworks.panos.panos_commit_panorama, paloaltonetworks.panos.panos_commit_push instead. Commit changes after creating object. If ip_address is a Panorama device, and device_group or template are also set, perform a commit to Panorama and a commit-all to the device group/template. Choices: |
|
The purpose / objective of the static Address Group |
|
|
|
IP address (or hostname) of PAN-OS device |
|
The operation to perform Supported values are add/list/delete. Choices: |
|
password for authentication |
|
Static filter used by the address group |
|
name of the dynamic address group |
|
Tags to be associated with the address group |
|
username for authentication Default: :ansible-option-default:`"admin"` |
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 3.0.0. [deprecated]
For more information see DEPRECATED.