paloaltonetworks.panos.panos_commit_panorama module – Commit Panorama’s candidate configuration.
Note
This module is part of the paloaltonetworks.panos collection (version 2.21.2).
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_commit_panorama
.
New in paloaltonetworks.panos 2.0.0
Synopsis
Module that will commit the candidate configuration on a Panorama instance.
The new configuration will become active immediately.
Requirements
The below requirements are needed on the host that executes this module.
pan-os-python
Parameters
Parameter |
Comments |
---|---|
Commit only the changes made by specified list of administrators. |
|
A description of the commit. |
|
Commit changes made to these device groups. |
|
Exclude network and device configuration changes. Choices: |
|
Exclude shared object configuration changes. Choices: |
|
Force the commit. Choices: |
|
Commit changes made to these log collector groups. |
|
Commit changes made to these log collectors. |
|
A dict object containing connection details. |
|
The API key to use instead of generating it using username / password. |
|
The IP address or hostname of the PAN-OS device being configured. |
|
The password to use for authentication. This is ignored if api_key is specified. |
|
The port number to connect to the PAN-OS device on. Default: :ansible-option-default:`443` |
|
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. |
|
The username to use for authentication. This is ignored if api_key is specified. Default: :ansible-option-default:`"admin"` |
|
Wait for the commit to complete. Choices: |
|
Commit changes made to these template stacks. |
|
Commit changes made to these templates. |
|
Commit changes made to these WildFire appliances. |
|
Commit changes made to these WildFire clusters. |
Examples
- name: commit candidate configs on panorama
paloaltonetworks.panos.panos_commit_panorama:
provider: '{{ credentials }}'
- name: commit changes by specified admins on panorama
paloaltonetworks.panos.panos_commit_panorama:
provider: '{{ credentials }}'
admins: ['netops', 'secops', 'cloudops']
description: 'Saturday change window'
- name: commit specific device group changes on panorama
paloaltonetworks.panos.panos_commit_panorama:
provider: '{{ credentials }}'
device_groups: ['production', 'development', 'testing']
- name: commit log collector group changes on panorama
paloaltonetworks.panos.panos_commit_panorama:
provider: '{{ credentials }}'
log_collector_groups: ['us-west-loggers', 'apac-loggers', 'latam-loggers']
description: 'Log collector changes'
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Commit job completion messages. Returned: on success Sample: :ansible-rv-sample-value:`"Configuration committed successfully"` |
|