Deprecated

Removed in 2.0.0

i

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

community.network.panos_loadcfg (1.3.7) — module

load configuration on PAN-OS device

Authors: Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)

Install collection

Install with ansible-galaxy collection install community.network:==1.3.7


Add to requirements.yml

  collections:
    - name: community.network
      version: 1.3.7

Description

Load configuration on PAN-OS device


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Import and load config file from URL
  - name: Import configuration
    panos_import:
      ip_address: "192.168.1.1"
      password: "admin"
      url: "{{ConfigURL}}"
      category: "configuration"
    register: result
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Load configuration
    community.network.panos_loadcfg:
      ip_address: "192.168.1.1"
      password: "admin"
      file: "{{result.filename}}"

Inputs

    
file:
    description:
    - configuration file to load

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

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

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

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