community / community.general / 0.1.1 / module / panos_interface
Removed in 2.12
Reason:Consolidating code base. | Alternative:Use U(https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks) instead.
configure data-port network interface for DHCP
Authors: Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer)
deprecated | supported by community
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
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 type: bool 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. type: bool