community.general.ftd_file_upload (0.1.1) — module

Uploads files to 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

Uploads files to Cisco FTD devices including disk files, backups, and upgrades.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Upload disk file
  ftd_file_upload:
    operation: 'postuploaddiskfile'
    file_to_upload: /tmp/test1.txt

Inputs

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

register_as:
    description:
    - Specifies Ansible fact name that is used to register received response from the
      FTD device.
    type: str

file_to_upload:
    description:
    - Absolute path to the file that should be uploaded.
    required: true
    type: path

Outputs

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