stefanhacker.ansible_extract_iso

一个用于提取文件夹的 Ansible 角色。内置的 iso 功能无法提取文件夹。

变量描述

path_to_iso: /tmp/myiso.iso path_to_extract_dest: /tmp/extractediso/

如果您不想提取整个 ISO,只想从中提取某个文件夹或文件,默认值为空

extract_folder_and_files_from_iso: []

一个例子

extract_folder_and_files_from_iso:

- live/filesystem.squashfs

- casper/*

覆盖开关(默认跳过已存在的文件夹)

开关描述

-aoa 覆盖所有现有文件,且不提示。

-aos 跳过提取已存在的文件。

-aou 自动重命名提取的文件(例如,name.txt 将被重命名为 name_1.txt)

-aot 自动重命名现有文件(例如,name.txt 将被重命名为 name_1.txt)

overwrite: -aos

提取时保留完整的文件夹结构。

fullpath_parameter: x

关于项目

Extract file folders or complete iso to an folder

安装
ansible-galaxy install stefanhacker.ansible_extract_iso
许可证
Unknown
下载
70
拥有者