ftd_file_upload

Uploads files to Cisco FTD devices over HTTP(S)

Description

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

Parameters

Parameter Required Type Description
operation True string The name of the operation to execute. Only operations that upload file can be used in this module.
file_to_upload True path Absolute path to the file that should be uploaded.
register_as False string Specifies Ansible fact name that is used to register received response from the FTD device.

Return Values

Value Returned Type Description
msg error string The error message describing why the module failed.

Examples


- name: Upload disk file
  ftd_file_upload:
    operation: 'postuploaddiskfile'
    file_to_upload: /tmp/test1.txt