Note
This plugin is part of the containers.podman collection (version 1.8.1).
You might already have this collection installed if you are using the ansible
package. It is not included in ansible-core
. To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install containers.podman
.
To use it in a playbook, specify: containers.podman.podman_export
.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
container string / required | Container to export. | |
dest string / required | Path to export container to. | |
executable string | Default: "podman" | Path to podman executable if it is not in the $PATH on the machine running podman
|
force boolean |
| Force saving to file even if it exists. |
# What modules does for example - containers.podman.podman_export: dest: /path/to/tar/file container: container-name
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/containers/podman/podman_export_module.html