ansible / ansible.builtin / v2.6.0 / module / panos_interface configure data-port network interface for DHCP | "added in version" 2.3 of ansible.builtin" Authors: Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer) preview | supported by communityansible.builtin.panos_interface (v2.6.0) — module
pip
Install with pip install ansible==2.6.0
Configure data-port (DP) network interface for DHCP. By default DP interfaces are static.
- 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"
commit: default: true description: - Commit if changed if_name: description: - Name of the interface to configure. required: true password: description: - Password for authentication. required: true type: str username: default: admin description: - Username for authentication. type: str zone_name: description: '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. ' required: true ip_address: description: - IP address (or hostname) of PAN-OS device. required: true type: str create_default_route: default: 'false' description: - Whether or not to add default route with router learned via DHCP.