cisco / cisco.dnac / 2.0.7 / module / network_device_update_role Manage NetworkDeviceUpdateRole objects of Devices | "added in version" 1.0.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.network_device_update_role (2.0.7) — module
Install with ansible-galaxy collection install cisco.dnac:==2.0.7
collections: - name: cisco.dnac version: 2.0.7
Updates the role of the device as access, core, distribution, border router.
- name: update_device_role cisco.dnac.network_device_update_role: state: update # required id: SomeValue # string, required role: SomeValue # string, required roleSource: SomeValue # string, required summary: True # boolean, required
id: description: - NetworkDeviceBriefNIO's id. required: true type: str role: description: - NetworkDeviceBriefNIO's role. required: true type: str summary: description: - If true gets the summary. required: true type: bool roleSource: description: - NetworkDeviceBriefNIO's roleSource. 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: devices.update_device_role type: str