Redirect stderr to kolla-build.log during container image build

Logs are sent to stderr as of pike.
This commit is contained in:
Mark Goddard 2017-06-29 16:08:01 +01:00
parent a01c39bfdd
commit 9a7fae1973

View File

@ -41,5 +41,5 @@
--config-dir {{ kolla_config_path }} \
{% if item.type is defined %}--type {{ item.type }}{% endif %} \
{% if push_images | bool %}--push{% endif %} \
{{ item.regexes }} | tee --append {{ kolla_build_log_path }}
{{ item.regexes }} 2>&1 | tee --append {{ kolla_build_log_path }}
with_items: "{{ container_image_sets }}"