Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Ansible : docker_image doesn't override existing images when pulling from registry

firasKoubaa:

I have a playbook that get an image from a docker registry.

Initially , when no image exists , it pulls an image ,

Therfore when i make change into my image in the registry and try to pre-pull it , it seems that the pull action doesn't override the existing one and consequently doesn't have the latests changes.

It seems that it keeps the first pulled image.

(even i use the force flag)

How can i force it to do it ;

my task is the following:


#### Pull APIS Images
- name: Pull APIs images rom registry
docker_image:
name: ""
pull: true
state: present
tag: ""
force: yes
with_items: ""
when:
- item != "FRONT"

Suggestions ?



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Ansible : docker_image doesn't override existing images when pulling from registry

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×