ansible / ansible.builtin / v2.3.3.0-1 / module / iso_extract Extract files from an ISO image. | "added in version" 2.3 of ansible.builtin" Authors: Jeroen Hoekx (@jhoekx), Matt Robinson (@ribbons) preview | supported by coreansible.builtin.iso_extract (v2.3.3.0-1) — module
pip
Install with pip install ansible==2.3.3.0.post1
This module mounts an iso image in a temporary directory and extracts files from there to a given destination.
- name: Extract kernel and ramdisk from a LiveCD iso_extract: image: /tmp/rear-test.iso dest: /tmp/virt-rear/ files: - isolinux/kernel - isolinux/initrd.cgz
dest: description: - The destination directory to extract files to. required: true files: description: - A list of files to extract from the image. - Extracting directories does not work. required: true image: aliases: - path - src description: - The ISO image to extract files from. required: true