mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 12:03:58 -07: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:
parent
13c070948b
commit
20bddde669
2 changed files with 102 additions and 41 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue