racampos.dnac.network_device_update_role (0.0.1) — module

Manage NetworkDeviceUpdateRole objects of Devices

| "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

Updates the role of the device as access, core, distribution, border router.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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

Inputs

    
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

Outputs

update_device_role:
  contains: null
  description: Updates the role of the device as access, core, distribution, border
    router.
  response:
    contains:
      taskId:
        description: It is the network device update role's taskId.
        returned: changed
        type: dict
      url:
        description: It is the network device update role's url.
        returned: changed
        sample: <url>
        type: str
    description: NetworkDeviceBriefNIO's response.
    returned: changed
    type: dict
  returned: changed
  type: dict
  version:
    description: NetworkDeviceBriefNIO's version.
    returned: changed
    sample: '1.0'
    type: str

See also