Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An example of the Extension Output for a Compress File with 7zz Archiver is presented below.

Code Block
languagetext
{
   "exit_code":0,
   "status_description":"SUCCESS: Task executed successfully.",
   "changed":true,
   "invocation":{
      "extension":"ue-util-compress",
      "version":"1.2.0",
      "fields":{
         "action":"compress",
         "algorithm":"zip",
         "zip_compression_level":1,
         "source_file":"test/test_file.txt",
         "archive":"test_archive.zip",
         "file":null,
         "overwrite":false,
         "encryption":"None",
         "credentials":null,
         "delete_original":false,
         "archiver_tool":"7zz",
         "archiver_path":null,
         "additional_switches":null
      }
   },
   "result":{
      "archive_processed":"test_archive.zip"
   }
}

...

An example of the Extension Output for a Compress Directory - “Embedded (Linux)“ Archiver example is presented below.

Code Block
languagetext
{
    "exit_code": 0,
    "status_description": "SUCCESS: Task executed successfully.",
    "changed": true,
    "invocation": {
        "extension": "ue-util-compress",
        "version": "1.2.0",
        "fields": {
            "action": null,
            "action_embedded": "compress",
            "algorithm": "zip",
            "zip_compression_level": 5,
            "source_file": null,
            "source_embedded": "test/test_folder",
            "archive": null,
            "output_embedded": null,
            "file": null,
            "overwrite": false,
            "overwrite_embedded": false,
            "encryption": null,
            "credentials": null,
            "delete_original": false,
            "delete_original_embedded": false,
            "archiver_tool": "embedded",
            "archiver_path": null,
            "additional_switches": "",
            "source_processed": null,
            "output_directory": null
        }
    },
    "result": {
        "source_processed": "test/test_folder",
        "output": "test/test_folder.zip"
    }
}

...