mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix changed event for docker_image in force mode
This commit is contained in:
parent
b905a349ac
commit
f8e79eb481
1 changed files with 2 additions and 0 deletions
|
@ -339,6 +339,8 @@ class ImageManager(DockerBaseClass):
|
|||
self.results['changed'] = True
|
||||
if not self.check_mode:
|
||||
self.results['image'] = self.client.pull_image(self.name, tag=self.tag)
|
||||
if image and image == self.results['image']:
|
||||
self.results['changed'] = False
|
||||
|
||||
if self.archive_path:
|
||||
self.archive_image(self.name, self.tag)
|
||||
|
|
Loading…
Reference in a new issue