stefanhacker.ansible_extract_iso

Here's a simpler version of your text:


Ansible Role to Extract a Folder from ISO

The built-in ISO function does not extract specific folders.

Variable Descriptions

  • path_to_iso: The path to your ISO file, e.g., /tmp/myiso.iso

  • path_to_extract_dest: Where you want to extract the contents, e.g., /tmp/extractediso/

  • If you only want to extract specific folders or files from the ISO (default is empty):

    • extract_folder_and_files_from_iso: []

    Example:

    extract_folder_and_files_from_iso:
    - live/filesystem.squashfs
    - casper/*
    
  • Overwrite options (default skips existing files/folders):

    • -aoa: Overwrite all existing files without asking.
    • -aos: Skip extracting existing files.
    • -aou: Automatically rename extracting files (e.g., name.txt becomes name_1.txt).
    • -aot: Auto rename existing files (e.g., name.txt becomes name_1.txt).
  • overwrite: Set to -aos (skip existing files).

  • fullpath_parameter: Set to x to preserve the complete folder structure.


This version simplifies the language and structure for easier understanding.

Informazioni sul progetto

Extract file folders or complete iso to an folder

Installa
ansible-galaxy install stefanhacker.ansible_extract_iso
Licenza
Unknown
Download
70
Proprietario