New in version 2.3.
- pan-python can be obtained from PyPi https://pypi.python.org/pypi/pan-python
parameter | required | default | choices | comments |
---|---|---|---|---|
commit |
no | True |
Commit if changed
|
|
create_default_route |
no | false |
Whether or not to add default route with router learned via DHCP.
|
|
if_name |
yes |
Name of the interface to configure.
|
||
ip_address |
yes |
IP address (or hostname) of PAN-OS device being configured.
|
||
password |
yes |
Password credentials to use for auth.
|
||
username |
no | admin |
Username credentials to use for auth.
|
|
zone_name |
yes |
Name of the zone for the interface. If the zone does not exist it is created but if the zone exists and it is not of the layer3 type the operation will fail.
|
- name: enable DHCP client on ethernet1/1 in zone public interface: password: "admin" ip_address: "192.168.1.1" if_name: "ethernet1/1" zone_name: "public" create_default_route: "yes"
Note
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.