paloaltonetworks / paloaltonetworks.panos / 2.19.1 / module / panos_http_server Manage HTTP servers in a HTTP server profile. | "added in version" 1.0.0 of paloaltonetworks.panos" Authors: Garfield Lee Freeman (@shinmog)paloaltonetworks.panos.panos_http_server (2.19.1) — module
Install with ansible-galaxy collection install paloaltonetworks.panos:==2.19.1
collections: - name: paloaltonetworks.panos version: 2.19.1
Manages HTTP servers in a HTTP server profile.
- name: Create http server paloaltonetworks.panos.panos_http_server: provider: '{{ provider }}' http_profile: 'my-profile' name: 'my-http-server' address: '192.168.1.5' http_method: 'GET' http_username: 'jack' http_password: 'burton'
name: description: - Server name. 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 vsys: default: shared description: - The vsys this object belongs to. type: str state: choices: - present - absent - replaced - merged - deleted - gathered default: present description: - The state. type: str address: description: - IP address or FQDN of the HTTP server 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 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 protocol: choices: - HTTP - HTTPS default: HTTPS description: - The protocol. 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 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 http_port: default: 443 description: - Port number. type: int 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 http_method: default: POST description: - HTTP method to use. type: str tls_version: choices: - '1.0' - '1.1' - '1.2' description: - PAN-OS 9.0+ - TLS handshake protocol version type: str device_group: default: shared description: - (Panorama only) The device group the operation should target. type: str http_profile: description: - Name of the http server profile. required: true type: str http_password: description: - Password for basic HTTP auth. type: str http_username: description: - Username for basic HTTP auth. 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 certificate_profile: description: - PAN-OS 9.0+ - Certificate profile for validating server cert. type: str