diff --git a/lib/ansible/modules/cloud/docker/docker_image.py b/lib/ansible/modules/cloud/docker/docker_image.py index 0c2938f9e5..a5978fc545 100644 --- a/lib/ansible/modules/cloud/docker/docker_image.py +++ b/lib/ansible/modules/cloud/docker/docker_image.py @@ -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)