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

commit firewall's candidate configuration

| "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

PanOS module that will commit firewall's candidate configuration on

the device. The new configuration will become active immediately.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Commit candidate config on 192.168.1.1 in sync mode
- panos_commit:
    ip_address: "192.168.1.1"
    username: "admin"
    password: "admin"

Inputs

    
sync:
    default: 'yes'
    description:
    - if commit should be synchronous
    type: bool

timeout:
    description:
    - timeout for commit job

interval:
    default: 0.5
    description:
    - interval for checking commit job

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

Outputs

status:
  description: success status
  returned: success
  sample: okey dokey
  type: string