From 9a7fae1973bc9f3b7fe9e67ed7cb8256f079d44c Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Thu, 29 Jun 2017 16:08:01 +0100 Subject: [PATCH] Redirect stderr to kolla-build.log during container image build Logs are sent to stderr as of pike. --- ansible/container-image-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/container-image-build.yml b/ansible/container-image-build.yml index ac690a346..17562bdf8 100644 --- a/ansible/container-image-build.yml +++ b/ansible/container-image-build.yml @@ -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 }}"