New in version 2.7.
Removed in Ansible: | |
---|---|
version: 2.12 | |
Why: | Consolidating code base. |
Alternative: | Use https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks instead. |
Parameter | Choices/Defaults | Comments |
---|---|---|
command
-
|
|
Xapi method name which supports 'xpath' or 'xpath' and 'element'
|
element
-
|
The 'element' for the 'xpath' if required
|
|
ip_address
string
/ required
|
IP address or host FQDN of the target PAN-OS NVA
|
|
password
string
/ required
|
Password for the given 'username'
|
|
username
string
|
Default: "admin"
|
User name for a user with admin rights on the PAN-OS NVA
|
xpath
-
/ required
|
The 'xpath' for the commands configurable
|
- name: Set timezone on PA NVA
panos_set:
ip_address: "192.168.1.1"
username: "my-random-admin"
password: "admin1234"
xpath: "/config/devices/entry/deviceconfig/system"
element: "<timezone>Australia/Melbourne</timezone>"
- name: Commit configuration
panos_commit:
ip_address: "192.168.1.1"
username: "my-random-admin"
password: "admin1234"
Hint
If you notice any issues in this documentation you can edit this document to improve it.