.. Document meta :orphan: .. Anchors .. _ansible_collections.cisco.dnac.tag_module: .. Anchors: short name for ansible.builtin .. Anchors: aliases .. Title cisco.dnac.tag -- Resource module for Tag +++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This plugin is part of the `cisco.dnac collection `_ (version 3.1.5). To install it use: :code:`ansible-galaxy collection install cisco.dnac`. To use it in a playbook, specify: :code:`cisco.dnac.tag`. .. version_added .. versionadded:: 1.0.0 of cisco.dnac .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - Manage operations create, update and delete of the resource Tag. .. note:: This module has a corresponding :ref:`action plugin `. .. Aliases .. Requirements Requirements ------------ The below requirements are needed on the host that executes this module. - dnacentersdk .. Options Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
description
string
Tag's description.
dynamicRules
list / elements=string
Tag's dynamicRules.
memberType
string
Tag's memberType.
rules
dictionary
Tag's rules.
items
list / elements=string
Tag's items.
name
string
Tag's name.
operation
string
Tag's operation.
value
string
Tag's value.
values
list / elements=string
Tag's values.
id
string
Tag's id.
instanceTenantId
string
Tag's instanceTenantId.
name
string
Tag's name.
systemTag
boolean
    Choices:
  • no
  • yes
SystemTag flag.

.. Notes .. Seealso See Also -------- .. seealso:: `Tag reference `_ Complete reference of the Tag object model. .. Examples Examples -------- .. code-block:: yaml+jinja - name: Update all cisco.dnac.tag: dnac_host: "{{dnac_host}}" dnac_username: "{{dnac_username}}" dnac_password: "{{dnac_password}}" dnac_verify: "{{dnac_verify}}" dnac_port: "{{dnac_port}}" dnac_version: "{{dnac_version}}" dnac_debug: "{{dnac_debug}}" state: present description: string dynamicRules: - memberType: string rules: items: [] name: string operation: string value: string values: - string id: string instanceTenantId: string name: string systemTag: true - name: Create cisco.dnac.tag: dnac_host: "{{dnac_host}}" dnac_username: "{{dnac_username}}" dnac_password: "{{dnac_password}}" dnac_verify: "{{dnac_verify}}" dnac_port: "{{dnac_port}}" dnac_version: "{{dnac_version}}" dnac_debug: "{{dnac_debug}}" state: present description: string dynamicRules: - memberType: string rules: items: [] name: string operation: string value: string values: - string id: string instanceTenantId: string name: string systemTag: true - name: Delete by id cisco.dnac.tag: dnac_host: "{{dnac_host}}" dnac_username: "{{dnac_username}}" dnac_password: "{{dnac_password}}" dnac_verify: "{{dnac_verify}}" dnac_port: "{{dnac_port}}" dnac_version: "{{dnac_version}}" dnac_debug: "{{dnac_debug}}" state: absent id: string .. Facts .. Return values Return Values ------------- Common return values are documented :ref:`here `, the following are the fields unique to this module: .. raw:: html
Key Returned Description
dnac_response
dictionary
always
A dictionary or list with the response returned by the Cisco DNAC Python SDK

Sample:
{ "version": "string", "response": { "taskId": "string", "url": "string" } }


.. Status (Presently only deprecated) .. Authors Authors ~~~~~~~ - Rafael Campos (@racampos) .. Parsing errors