ansible.builtin.panos_commit (v2.3.3.0-1) — 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.3.3.0.post1

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: true
    description:
    - if commit should be synchronous
    required: false

timeout:
    default: None
    description:
    - timeout for commit job
    required: false

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

password:
    description:
    - password for authentication
    required: true

username:
    default: admin
    description:
    - username for authentication
    required: false

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

Outputs

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