community.general.ftd_file_download (0.1.1) — module

Downloads files from Cisco FTD devices over HTTP(S)

Authors: Cisco Systems, Inc. (@annikulin)

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

Description

Downloads files from Cisco FTD devices including pending changes, disk files, certificates, troubleshoot reports, and backups.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Download pending changes
  ftd_file_download:
    operation: 'getdownload'
    path_params:
      objId: 'default'
    destination: /tmp/

Inputs

    
operation:
    description:
    - The name of the operation to execute.
    - Only operations that return a file can be used in this module.
    required: true
    type: str

destination:
    description:
    - Absolute path of where to download the file to.
    - If destination is a directory, the module uses a filename from 'Content-Disposition'
      header specified by the server.
    required: true
    type: path

path_params:
    description:
    - Key-value pairs that should be sent as path parameters in a REST API call.
    type: dict

Outputs

msg:
  description: The error message describing why the module failed.
  returned: error
  type: str