Note
This plugin is part of the community.network collection.
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.panos_dag_tags
.
version 2.0.0
Consolidating code base.
Use https://galaxy.ansible.com/PaloAltoNetworks/paloaltonetworks instead.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
api_key string | API key that can be used instead of username/password credentials. | |
commit boolean |
| commit if changed |
description string | The purpose / objective of the static Address Group | |
devicegroup string | - Device groups are used for the Panorama interaction with Firewall(s). The group must exists on Panorama. If device group is not define we assume that we are contacting Firewall. | |
ip_address string / required | IP address (or hostname) of PAN-OS device. | |
ip_to_register string | IP that will be registered with the given tag names. | |
operation string | The action to be taken. Supported values are add/update/find/delete. | |
password string / required | Password for authentication. | |
tag_names string | The list of the tags that will be added or removed from the IP address. | |
username string | Default: "admin" | Username for authentication. |
Note
- name: Create the tags to map IP addresses community.network.panos_dag_tags: ip_address: "{{ ip_address }}" password: "{{ password }}" ip_to_register: "{{ ip_to_register }}" tag_names: "{{ tag_names }}" description: "Tags to allow certain IP's to access various SaaS Applications" operation: 'add' tags: "adddagip" - name: List the IP address to tag mapping community.network.panos_dag_tags: ip_address: "{{ ip_address }}" password: "{{ password }}" tag_names: "{{ tag_names }}" description: "List the IP address to tag mapping" operation: 'list' tags: "listdagip" - name: Unregister an IP address from a tag mapping community.network.panos_dag_tags: ip_address: "{{ ip_address }}" password: "{{ password }}" ip_to_register: "{{ ip_to_register }}" tag_names: "{{ tag_names }}" description: "Unregister IP address from tag mappings" operation: 'delete' tags: "deletedagip"
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/network/panos_dag_tags_module.html