CI: Use the same redirection syntax everywhere

Change-Id: Iff105f9a491dc6277586c1d53b84747c38feb585
This commit is contained in:
Pierre Riteau 2021-03-25 14:46:44 +01:00
parent 9934e86b0d
commit f2c1121868
2 changed files with 3 additions and 2 deletions

View File

@ -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"

View File

@ -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