ansible / ansible.builtin / v2.5.6 / 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.5.6) — module
pip
Install with pip install ansible==2.5.6
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 credentials to use for auth. required: true username: default: admin description: - Username credentials to use for auth. 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 being configured. required: true create_default_route: default: 'false' description: - Whether or not to add default route with router learned via DHCP.