From f2c1121868e3d84023a222a452df32753e6e1a96 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Thu, 25 Mar 2021 14:46:44 +0100 Subject: [PATCH] CI: Use the same redirection syntax everywhere Change-Id: Iff105f9a491dc6277586c1d53b84747c38feb585 --- playbooks/kayobe-overcloud-host-configure-base/run.yml | 3 ++- playbooks/kayobe-seed-vm-base/run.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/playbooks/kayobe-overcloud-host-configure-base/run.yml b/playbooks/kayobe-overcloud-host-configure-base/run.yml index 558bd272e..45876df49 100644 --- a/playbooks/kayobe-overcloud-host-configure-base/run.yml +++ b/playbooks/kayobe-overcloud-host-configure-base/run.yml @@ -13,7 +13,8 @@ tasks: - name: Ensure overcloud is deployed shell: - cmd: "{{ kayobe_src_dir }}/dev/overcloud-deploy.sh > {{ logs_dir }}/ansible/overcloud-deploy" + cmd: "{{ kayobe_src_dir }}/dev/overcloud-deploy.sh &> {{ logs_dir }}/ansible/overcloud-deploy" + executable: /bin/bash - name: Run testinfra tests command: "{{ testinfra_venv }}/bin/py.test {{ test_path }} --html={{ logs_dir }}/test-results.html --self-contained-html" diff --git a/playbooks/kayobe-seed-vm-base/run.yml b/playbooks/kayobe-seed-vm-base/run.yml index 7bd57a154..9a7f89182 100644 --- a/playbooks/kayobe-seed-vm-base/run.yml +++ b/playbooks/kayobe-seed-vm-base/run.yml @@ -8,7 +8,7 @@ tasks: - name: Ensure seed hypervisor is deployed shell: - cmd: "{{ kayobe_src_dir }}/dev/seed-hypervisor-deploy.sh > {{ logs_dir }}/ansible/seed-hypervisor-deploy" + cmd: "{{ kayobe_src_dir }}/dev/seed-hypervisor-deploy.sh &> {{ logs_dir }}/ansible/seed-hypervisor-deploy" executable: /bin/bash - name: Ensure seed is deployed