racampos.dnac.site_membership (0.0.1) — module

Manage SiteMembership objects of Sites

| "added in version" 1.0 of racampos.dnac"

Authors: first last (@GitHubID)

preview | supported by community

This plugin has a corresponding action plugin.

Install collection

Install with ansible-galaxy collection install racampos.dnac:==0.0.1


Add to requirements.yml

  collections:
    - name: racampos.dnac
      version: 0.0.1

Description

Getting the site children details and device details.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get_membership
  cisco.dnac.site_membership:
    state: query  # required
    site_id: SomeValue  # string, required
  register: query_result

Inputs

    
site_id:
    description:
    - Site id to retrieve device associated with the site.
    required: true
    type: str

Outputs

get_membership:
  contains: null
  description: Getting the site children details and device details.
  device:
    contains:
      response:
        description: It is the site membership's response.
        returned: always
        type: list
      siteId:
        description: It is the site membership's siteId.
        returned: always
        sample: <siteid>
        type: str
      version:
        description: It is the site membership's version.
        returned: always
        sample: '1.0'
        type: str
    description: Device, property of the response body (list of objects).
    returned: always
    type: list
  returned: always
  site:
    contains:
      response:
        description: It is the site membership's response.
        returned: always
        type: list
      version:
        description: It is the site membership's version.
        returned: always
        sample: '1.0'
        type: str
    description: Site, property of the response body.
    returned: always
    type: dict
  type: dict

See also