paloaltonetworks.panos.panos_dynamic_updates module – Install dynamic updates on PAN-OS devices.

Note

This module is part of the paloaltonetworks.panos collection (version 3.1.1).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install paloaltonetworks.panos. You need further requirements to be able to use this module, see Requirements for details.

To use it in a playbook, specify: paloaltonetworks.panos.panos_dynamic_updates.

New in paloaltonetworks.panos 2.6.0

Synopsis

  • Installs the latest content update on PAN-OS devices.

Requirements

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

Parameters

Parameter

Comments

provider

dictionary / required

added in paloaltonetworks.panos 1.0.0

A dict object containing connection details.

api_key

string

The API key to use instead of generating it using username / password.

ip_address

string / required

The IP address or hostname of the PAN-OS device being configured.

password

string

The password to use for authentication. This is ignored if api_key is specified.

port

integer

The port number to connect to the PAN-OS device on.

Default: 443

serial_number

string

The serial number of a firewall to use for targeted commands. If ip_address is not a Panorama PAN-OS device, then this param is ignored.

username

string

The username to use for authentication. This is ignored if api_key is specified.

Default: "admin"

sync_to_peer

boolean

If device is a member of a HA pair, install this update on the peer device as well.

Choices:

  • false ← (default)

  • true

update_type

string

Type of dynamic update to install.

Choices:

  • "content" ← (default)

Notes

Note

  • Panorama is supported.

  • Check mode is supported.

Examples

- name: Update content to latest version
  paloaltonetworks.panos.panos_dynamic_updates:
    provider: '{{ provider }}'

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

content

string

Content version installed

Returned: success

Sample: "8372-6534"

Authors

  • Michael Richardson (@mrichardson03)