Documentation
PLEASE NOTE: This document applies to latest version and not to the latest stable release v2.20
Documentation for other releases can be found by using the version selector in the top right of any doc page.iso_extract
Extract contents from ISO files.
Attributes
check_mode:
support: full
diff_mode:
support: full
Parameters
| Parameter | Required | Type | Values | Description |
|---|---|---|---|---|
| dest | true | string | Destination directory where files will be extracted. | |
| files | array | List of specific files to extract from the ISO. If not specified, all files will be extracted. | ||
| force | boolean | Overwrite existing files in the destination directory. [default: false] |
||
| iso | true | string | Path to the ISO file to extract. |
Examples
- name: Extract entire ISO
iso_extract:
iso: /tmp/image.iso
dest: /mnt/extracted
- name: Extract specific files from ISO
iso_extract:
iso: /tmp/install.iso
dest: /mnt/packages
files:
- /packages/core.pkg
- /packages/utils.pkg
- name: Extract ISO with overwrite
iso_extract:
iso: /tmp/image.iso
dest: /mnt/extracted
force: true