community.network.panos_pg – create a security profiles group

Note

This plugin is part of the community.network collection.

To install it use: ansible-galaxy collection install community.network.

To use it in a playbook, specify: community.network.panos_pg.

DEPRECATED

Removed in

version 2.0.0

Why

Consolidating code base.

Alternative

Use https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks instead.

Synopsis

  • Create a security profile group

Requirements

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

  • pan-python

Parameters

Parameter Choices/Defaults Comments
commit
boolean
    Choices:
  • no
  • yes ←
commit if changed
data_filtering
string
name of the data filtering profile
file_blocking
string
name of the file blocking profile
ip_address
string / required
IP address (or hostname) of PAN-OS device.
password
string / required
Password for authentication.
pg_name
string / required
name of the security profile group
spyware
string
name of the spyware profile
url_filtering
string
name of the url filtering profile
username
string
Default:
"admin"
Username for authentication.
virus
string
name of the anti-virus profile
vulnerability
string
name of the vulnerability profile
wildfire
string
name of the wildfire analysis profile

Examples

- name: Setup security profile group
  community.network.panos_pg:
    ip_address: "192.168.1.1"
    password: "admin"
    username: "admin"
    pg_name: "pg-default"
    virus: "default"
    spyware: "default"
    vulnerability: "default"

Status

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

  • For more information see DEPRECATED.

Authors

  • Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)