paloaltonetworks / paloaltonetworks.panos / 2.19.1 / module / panos_mgtconfig Module used to configure some of the device management. | "added in version" 1.0.0 of paloaltonetworks.panos" Authors: Luigi Mori (@jtschichold), Ivan Bojer (@ivanbojer), Patrik Malinen (@pmalinen), Francesco Vigo (@fvigo)paloaltonetworks.panos.panos_mgtconfig (2.19.1) — module
Install with ansible-galaxy collection install paloaltonetworks.panos:==2.19.1
collections: - name: paloaltonetworks.panos version: 2.19.1
Configure management settings of device. Not all configuration options are configurable at this time.
- name: set dns and panorama paloaltonetworks.panos.panos_mgtconfig: provider: '{{ provider }}' dns_server_primary: "1.1.1.1" dns_server_secondary: "1.1.1.2" panorama_primary: "1.1.1.3" panorama_secondary: "1.1.1.4" ntp_server_primary: "1.1.1.5" ntp_server_secondary: "1.1.1.6"
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 commit: description: - B(Deprecated) - Please use M(paloaltonetworks.panos.panos_commit_firewall), M(paloaltonetworks.panos.panos_commit_panorama), M(paloaltonetworks.panos.panos_commit_push) instead. - HORIZONTALLINE - Commit changes after creating object. If I(ip_address) is a Panorama device, and I(device_group) or I(template) are also set, perform a commit to Panorama and a commit-all to the device group/template. type: bool domain: description: - The domain of the device 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 hostname: description: - The hostname of the device. 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 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 timezone: description: - Device timezone. 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 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 login_banner: description: - Login banner text. type: str update_server: description: - IP or hostname of the update server. type: str template_stack: description: - (Panorama only) The template stack this operation should target. Mutually exclusive with I(template). type: str panorama_primary: description: - IP address (or hostname) of primary Panorama server. type: str dns_server_primary: description: - IP address of primary DNS server. type: str ntp_server_primary: description: - IP address (or hostname) of primary NTP server. type: str panorama_secondary: description: - IP address (or hostname) of secondary Panorama server. type: str dns_server_secondary: description: - IP address of secondary DNS server. type: str ntp_server_secondary: description: - IP address (or hostname) of secondary NTP server. type: str verify_update_server: description: - Verify the identify of the update server. type: bool