cisco / cisco.dnac / 2.0.7 / module / site_device Manage SiteDevice objects of Sites | "added in version" 1.0.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.site_device (2.0.7) — module
Install with ansible-galaxy collection install cisco.dnac:==2.0.7
collections: - name: cisco.dnac version: 2.0.7
Assigns list of devices to a site.
- name: assign_device_to_site cisco.dnac.site_device: state: create # required site_id: SomeValue # string, required device: # required - ip: SomeValue # string, required
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
dnac_response: description: A dictionary with the response returned by the DNA Center Python SDK returned: always sample: response: 29 version: '1.0' type: dict missing_params: description: Provided arguments do not comply with the schema of the DNA Center Python SDK function returned: when the function request schema is not satisfied sample: null type: list sdk_function: description: The DNA Center SDK function used to execute the task returned: always sample: sites.assign_device_to_site type: str