Deprecated

Removed in 2.12

i

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

community.general.panos_import (0.1.1) — module

import file on PAN-OS devices

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

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

Import file on PAN-OS device


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# import software image PanOS_vm-6.1.1 on 192.168.1.1
- name: import software image into PAN-OS
  panos_import:
    ip_address: 192.168.1.1
    username: admin
    password: admin
    file: /tmp/PanOS_vm-6.1.1
    category: software

Inputs

    
url:
    description:
    - URL of the file that will be imported to device.

file:
    description:
    - Location of the file to import into device.

category:
    default: software
    description:
    - Category of file uploaded. The default is software.
    - See API > Import section of the API reference for category options.

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

validate_certs:
    default: true
    description:
    - If C(no), SSL certificates will not be validated. Disabling certificate validation
      is not recommended.
    type: bool