racampos.dnac.site_device (0.0.1) — module

Manage SiteDevice 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

Assigns list of devices to a site.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: assign_device_to_site
  cisco.dnac.site_device:
    state: create  # required
    site_id: SomeValue  # string, required
    device:  # required
    - ip: SomeValue  # string, required

Inputs

    
device:
    description:
    - Device, property of the request body (list of objects).
    elements: dict
    required: true
    suboptions:
      ip:
        description:
        - It is the site device's ip.
        required: true
        type: str
    type: list

site_id:
    description:
    - Site id to which site the device to assign.
    required: true
    type: str

Outputs

assign_device_to_site:
  contains: null
  description: Assigns list of devices to a site.
  executionId:
    description: Execution Id, property of the response body.
    returned: success
    sample: <executionid>
    type: str
  executionStatusUrl:
    description: Execution Status Url, property of the response body.
    returned: success
    sample: <executionstatusurl>
    type: str
  message:
    description: Message, property of the response body.
    returned: success
    sample: <message>
    type: str
  returned: success
  type: dict

See also