ansible.builtin.ftd_file_upload (v2.9.27) — module

Uploads files to Cisco FTD devices over HTTP(S)

| "added in version" 2.7 of ansible.builtin"

Authors: Cisco Systems, Inc. (@annikulin)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

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
    version_added: '2.8'
    version_added_collection: ansible.builtin

Outputs

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