panos_sag - Create a static address group.¶
New in version 2.4.
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.org/project/pan-python/
- pandevice can be obtained from PyPi https://pypi.org/project/pandevice/
- xmltodict can be obtained from PyPi https://pypi.org/project/xmltodict/
Parameters¶
Parameter | Choices/Defaults | Comments |
---|---|---|
api_key |
API key that can be used instead of username/password credentials.
|
|
commit
bool |
|
commit if changed
|
description |
The purpose / objective of the static Address Group
|
|
devicegroup |
- 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 |
IP address (or hostname) of PAN-OS device.
|
|
operation
required |
The operation to perform Supported values are add/list/delete.
|
|
password
required |
Password for authentication.
|
|
sag_name
required |
name of the dynamic address group
|
|
static_match_filter
required |
Static filter user by the address group
|
|
tags |
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 is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Maintenance¶
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Author¶
- Vinay Venkataraghavan @vinayvenkat
Hint
If you notice any issues in this documentation you can edit this document to improve it.