Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman_container: support for "--pull" option #738

Closed
MaikiGirardi opened this issue Apr 27, 2024 · 4 comments
Closed

podman_container: support for "--pull" option #738

MaikiGirardi opened this issue Apr 27, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@MaikiGirardi
Copy link

MaikiGirardi commented Apr 27, 2024

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

On containers.podman.podman_container module there is no option for --pull , this is relevant for horizontal scaling custom image build.

https://docs.podman.io/en/latest/markdown/podman-run.1.html#pull-policy

@MaikiGirardi MaikiGirardi changed the title podman network: support for "--pull" option podman_container: support for "--pull" option Apr 27, 2024
@sshnaidm sshnaidm added the enhancement New feature or request label Apr 30, 2024
@sshnaidm
Copy link
Member

sshnaidm commented Apr 30, 2024

@MaikiGirardi would you like to create a patch?
You can refer to this as a reference: cecb292 (or a few options with tests like here: 2a8aaf4)

@alive1
Copy link

alive1 commented May 14, 2024

This would make me so happy. After migrating from docker to podman, I have no simple and realistic way of updating my container images through ansible. containers.podman.podman_image does have a pull option but that never updates the image even when using the latest tag.

@sshnaidm
Copy link
Member

@alive1 you can use force: true to pull image always.

@sshnaidm
Copy link
Member

@alive1 fixed in #750

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants