mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
docker_container: return status also when 0 for non-detached containers (#58)
* Return status also when 0. * Fix PR number.
This commit is contained in:
@@ -588,9 +588,11 @@
|
||||
# often enough to be annoying. That's why we disable this for now,
|
||||
# and simply test that 'Output' is contained in the result.
|
||||
- "'Output' in detach_no_cleanup.container"
|
||||
- detach_no_cleanup.status == 0
|
||||
# - "'Hello from Docker!' in detach_no_cleanup.container.Output"
|
||||
- detach_no_cleanup_cleanup is changed
|
||||
- "'Output' in detach_cleanup.container"
|
||||
- detach_cleanup.status == 0
|
||||
# - "'Hello from Docker!' in detach_cleanup.container.Output"
|
||||
- detach_cleanup_cleanup is not changed
|
||||
- assert:
|
||||
|
||||
Reference in New Issue
Block a user