containers / ansible-podman-collections

Repository for Ansible content that can include playbooks, roles, modules, and plugins for use with the Podman tool
GNU General Public License v3.0
264 stars 142 forks source link

Support podman image scp #536

Open hammerandtongs opened 1 year ago

hammerandtongs commented 1 year ago

/kind feature

Description

Being able to use a direct transfer via image scp (without registry) would be very useful

https://docs.podman.io/en/latest/markdown/podman-image-scp.1.html

sshnaidm commented 4 months ago

I think it can be a feature for podman_image like we have push. How about that?

- containers.podman.podman_image:
    name: testimage
    pull: false
    push: true
    push_args:
      dest: user@server
      transport: scp