racampos.dnac.file (0.0.1) — module

Manage File objects of File

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

Downloads a File specified by FileId.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: download_a_file_by_fileid
  cisco.dnac.file:
    state: query  # required
    file_id: SomeValue  # string, required
    dirpath: SomeValue  # string
    save_file: True  # boolean
  register: query_result

Inputs

    
dirpath:
    description:
    - Directory absolute path. Defaults to current working directory.
    type: str

file_id:
    description:
    - File Identification number.
    required: true
    type: str

save_file:
    description:
    - Enable or disable automatic File creation of raw response.
    type: bool

Outputs

download_a_file_by_fileid:
  contains: null
  description: Downloads a File specified by FileId.
  returned: always
  type: dict

See also