ansible.builtin.panos_import (v2.6.0) — module

import file on PAN-OS devices

| "added in version" 2.3 of ansible.builtin"

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

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.6.0

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
    version_added: '2.6'
    version_added_collection: ansible.builtin