racampos.dnac.network_device_sync (0.0.1) — module

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

Synchronizes the devices. If forceSync param is false (default) then the sync would run in normal priority thread. If forceSync param is true then the sync would run in high priority thread if available, else the sync will fail. Result can be seen in the child task of each device.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: sync_devices_using_forcesync
  cisco.dnac.network_device_sync:
    state: update  # required
    payload: None, required
    force_sync: True  # boolean

Inputs

    
payload:
    description:
    - An object to send in the Request body.
    required: true
    type: list

force_sync:
    description:
    - ForceSync query parameter.
    type: bool

Outputs

sync_devices_using_forcesync:
  contains: null
  description: Synchronizes the devices. If forceSync param is false (default) then
    the sync would run in normal priority thread. If forceSync param is true then
    the sync would run in high priority thread if available, else the sync will fail.
    Result can be seen in the child task of each device.
  response:
    contains:
      taskId:
        description: It is the network device sync's taskId.
        returned: changed
        type: dict
      url:
        description: It is the network device sync's url.
        returned: changed
        sample: <url>
        type: str
    description: Response, property of the response body.
    returned: changed
    type: dict
  returned: changed
  type: dict
  version:
    description: Version, property of the response body.
    returned: changed
    sample: '1.0'
    type: str

See also