containers.podman.podman_import – Import Podman container from a tar file.¶
Note
This plugin is part of the containers.podman collection (version 1.10.1).
To install it use: ansible-galaxy collection install containers.podman
.
To use it in a playbook, specify: containers.podman.podman_import
.
Synopsis¶
podman import imports a tarball (.tar, .tar.gz, .tgz, .bzip, .tar.xz, .txz) and saves it as a filesystem image.
Requirements¶
The below requirements are needed on the host that executes this module.
Podman installed on host
Parameters¶
Examples¶
# What modules does for example
- containers.podman.podman_import:
src: /path/to/tar/file
change:
- "CMD": /bin/bash
- "User": root
commit_message: "Importing image"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Sagi Shnaidman (@sshnaidm)