Note
This plugin is part of the community.network collection.
To install it use: ansible-galaxy collection install community.network.
To use it in a playbook, specify: community.network.panos_set.
version 2.0.0
Consolidating code base.
Use https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks instead.
The below requirements are needed on the host that executes this module.
| Parameter | Choices/Defaults | Comments |
|---|---|---|
| command string |
| Xapi method name which supports 'xpath' or 'xpath' and 'element' |
| element string | 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 string / required | The 'xpath' for the commands configurable |
- name: Set timezone on PA NVA
community.network.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"
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/network/panos_set_module.html