paloaltonetworks / paloaltonetworks.panos / 2.19.1 / module / panos_gre_tunnel Manage GRE tunnels on PAN-OS devices. | "added in version" 1.0.0 of paloaltonetworks.panos" Authors: Garfield Lee Freeman (@shinmog)paloaltonetworks.panos.panos_gre_tunnel (2.19.1) — module
Install with ansible-galaxy collection install paloaltonetworks.panos:==2.19.1
collections: - name: paloaltonetworks.panos version: 2.19.1
Manage GRE tunnel objects on PAN-OS devices.
- name: Create GRE tunnel paloaltonetworks.panos.panos_gre_tunnel: provider: '{{ provider }}' name: 'myGreTunnel' interface: 'ethernet1/5' local_address_value: '10.1.1.1/24' peer_address: '192.168.1.1' tunnel_interface: 'tunnel.7' ttl: 42
ttl: default: 64 description: - TTL. type: int name: description: - Name of object to create. type: str port: default: 443 description: - B(Deprecated) - Use I(provider) to specify PAN-OS connectivity instead. - HORIZONTALLINE - The port number to connect to the PAN-OS device on. type: int state: choices: - present - absent - replaced - merged - deleted - gathered default: present description: - The state. type: str api_key: description: - B(Deprecated) - Use I(provider) to specify PAN-OS connectivity instead. - HORIZONTALLINE - The API key to use instead of generating it using I(username) / I(password). type: str copy_tos: description: - Copy IP TOS bits from inner packet to GRE packet. type: bool disabled: description: - Disable the GRE tunnel. type: bool password: description: - B(Deprecated) - Use I(provider) to specify PAN-OS connectivity instead. - HORIZONTALLINE - The password to use for authentication. This is ignored if I(api_key) is specified. type: str provider: description: - A dict object containing connection details. suboptions: api_key: description: - The API key to use instead of generating it using I(username) / I(password). type: str ip_address: description: - The IP address or hostname of the PAN-OS device being configured. type: str password: description: - The password to use for authentication. This is ignored if I(api_key) is specified. type: str port: default: 443 description: - The port number to connect to the PAN-OS device on. type: int serial_number: description: - The serial number of a firewall to use for targeted commands. If I(ip_address) is not a Panorama PAN-OS device, then this param is ignored. type: str username: default: admin description: - The username to use for authentication. This is ignored if I(api_key) is specified. type: str type: dict version_added: 1.0.0 version_added_collection: paloaltonetworks.panos template: description: - (Panorama only) The template this operation should target. Mutually exclusive with I(template_stack). type: str username: default: admin description: - B(Deprecated) - Use I(provider) to specify PAN-OS connectivity instead. - HORIZONTALLINE - The username to use for authentication. This is ignored if I(api_key) is specified. type: str interface: description: - Interface to terminate the tunnel. type: str ip_address: description: - B(Deprecated) - Use I(provider) to specify PAN-OS connectivity instead. - HORIZONTALLINE - The IP address or hostname of the PAN-OS device being configured. type: str peer_address: description: - Peer IP address. type: str template_stack: description: - (Panorama only) The template stack this operation should target. Mutually exclusive with I(template). type: str gathered_filter: description: - When I(state=gathered). - An advanced filtering option to filter results returned from PAN-OS. - Refer to the guide discussing I(gathered_filter) for more information. type: str keep_alive_retry: default: 3 description: - Keep alive retry time. type: int tunnel_interface: description: - To apply GRE tunnels to tunnel interface. type: str enable_keep_alive: description: - Enable tunnel monitoring. type: bool local_address_type: choices: - ip - floating-ip default: ip description: Type of local address. type: str keep_alive_interval: default: 10 description: - Keep alive interval. type: int local_address_value: description: - IP address value. type: str keep_alive_hold_timer: default: 5 description: - Keep alive hold timer. type: int