cisco.dnac.tag_member – Resource module for Tag Member
Note
This plugin is part of the cisco.dnac collection (version 3.1.5).
To install it use: ansible-galaxy collection install cisco.dnac
.
To use it in a playbook, specify: cisco.dnac.tag_member
.
New in version 1.0.0: of cisco.dnac
Synopsis
Manage operations create and delete of the resource Tag Member.
Note
This module has a corresponding action plugin.
Requirements
The below requirements are needed on the host that executes this module.
dnacentersdk
Parameters
Parameter | Choices/Defaults | Comments |
---|---|---|
id
string
|
Id path parameter. Tag ID.
|
|
memberId
string
|
MemberId path parameter. TagMember id to be removed from tag.
|
|
object
string
|
Object.
|
See Also
See also
- Tag Member reference
Complete reference of the Tag Member object model.
Examples
- name: Create
cisco.dnac.tag_member:
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
id: string
object: string
- name: Delete by id
cisco.dnac.tag_member:
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
memberId: string
Return Values
Common return values are documented here, the following are the fields unique to this module: