racampos.dnac.trigger_image_distribution (0.0.1) — module

Manage TriggerImageDistribution objects of SoftwareImageManagementSwim

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

Distributes a software image on a given device. Software image must be imported successfully into DNA Center before it can be distributed.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: trigger_software_image_distribution
  cisco.dnac.trigger_image_distribution:
    state: create  # required
    payload:  # required
    - deviceUuid: SomeValue  # string
      imageUuid: SomeValue  # string

Inputs

    
payload:
    description:
    - An object to send in the Request body.
    elements: dict
    required: true
    suboptions:
      deviceUuid:
        description:
        - It is the trigger image distribution's deviceUuid.
        type: str
      imageUuid:
        description:
        - It is the trigger image distribution's imageUuid.
        type: str
    type: list

Outputs

trigger_software_image_distribution:
  contains: null
  description: Distributes a software image on a given device. Software image must
    be imported successfully into DNA Center before it can be distributed.
  response:
    contains:
      taskId:
        description: It is the trigger image distribution's taskId.
        returned: success
        type: dict
      url:
        description: It is the trigger image distribution's url.
        returned: success
        sample: <url>
        type: str
    description: DistributeDTO's response.
    returned: success
    type: dict
  returned: success
  type: dict
  version:
    description: DistributeDTO's version.
    returned: success
    sample: '1.0'
    type: str

See also