When using Docker with Ansible, the docker_container and docker_compose modules are usually used to manage containers. While these modules work fine and provide a lot of options, the Ansible task itself will only check if this specific task was successful or not. This means it will only check …