mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 00:33:09 +00:00
docker_service: Forward stderr-based output from docker-compose (#25456)
PR #5165 at https://github.com/ansible/ansible-modules-core/pull/5165 adds redirection and capture of stdout during execution of docker-compose. This doesn't necessarily catch all errors, since some are printed to stderr and lost. This extends the redirection to include stderr, and does minor string processing to attempt to find a 'useful' message to present as the final Ansible error.
This commit is contained in:
committed by
GitHub
parent
13c070948b
commit
20bddde669
@@ -108,7 +108,6 @@ lib/ansible/modules/cloud/docker/docker_image.py
|
||||
lib/ansible/modules/cloud/docker/docker_image_facts.py
|
||||
lib/ansible/modules/cloud/docker/docker_login.py
|
||||
lib/ansible/modules/cloud/docker/docker_network.py
|
||||
lib/ansible/modules/cloud/docker/docker_service.py
|
||||
lib/ansible/modules/cloud/google/gc_storage.py
|
||||
lib/ansible/modules/cloud/google/gcdns_record.py
|
||||
lib/ansible/modules/cloud/google/gcdns_zone.py
|
||||
|
||||
Reference in New Issue
Block a user