paloaltonetworks / paloaltonetworks.panos / 2.19.1 / module / panos_device_group Manage Panorama device group | "added in version" 2.8.0 of paloaltonetworks.panos" Authors: Garfield Lee Freeman (@shinmog)paloaltonetworks.panos.panos_device_group (2.19.1) — module
Install with ansible-galaxy collection install paloaltonetworks.panos:==2.19.1
collections: - name: paloaltonetworks.panos version: 2.19.1
Manage Panorama device group.
# Create a device group under shared. - name: Create device group paloaltonetworks.panos.panos_device_group: provider: '{{ provider }}' name: 'hello world'
# Create a device group under "hello world" - name: Create device group under hello world paloaltonetworks.panos.panos_device_group: provider: '{{ provider }}' name: 'child' parent: 'hello world'
# Delete the child device group - name: Delete a device group. paloaltonetworks.panos.panos_device_group: provider: '{{ provider }}' name: 'some device group' state: 'absent'
tag: description: - List of tags elements: str type: list name: description: - Name of the device group. type: str state: choices: - present - absent - replaced - merged - deleted - gathered default: present description: - The state. type: str parent: description: - Name of the device group parent. - An empty parent means the parent device group should be "shared". type: str provider: description: - A dict object containing connection details. required: true 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. required: true 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 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