I’m trying to achieve the following behavior via the Ansible-Docker module
- Check if currently deployed container image is of desired version; if so, exit else proceed
- Pull updated image
- Stop/remove currently deployed container image
- Start new container image
I know using ‘latest’ would give this type of behavior, but we really want to be able to specify the specific version to check for.