From f2281fd8df975bd30216e05aa10f891ecf811dd4 Mon Sep 17 00:00:00 2001 From: Dao Cong Tien Date: Tue, 10 Oct 2017 16:03:14 +0700 Subject: [PATCH] grenade-dsvm-ironic: Move task 'legacy workspace dir' to first It seems another task is put before the creation of workspace directory causing: 'No such file or directoty: /home/zuul/workspace' Change-Id: I4741f9bcd8709aaa3b26f28f3c427cd07e99c1a7 --- playbooks/legacy/grenade-dsvm-ironic/run.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/playbooks/legacy/grenade-dsvm-ironic/run.yaml b/playbooks/legacy/grenade-dsvm-ironic/run.yaml index c38a0fb0..6ba64bd5 100644 --- a/playbooks/legacy/grenade-dsvm-ironic/run.yaml +++ b/playbooks/legacy/grenade-dsvm-ironic/run.yaml @@ -2,6 +2,11 @@ name: Autoconverted job legacy-grenade-dsvm-ironic from old job gate-grenade-dsvm-ironic-ubuntu-xenial-nv tasks: + - name: Ensure legacy workspace directory + file: + path: '{{ ansible_user_dir }}/workspace' + state: directory + - name: Show the environment shell: cmd: | @@ -10,11 +15,6 @@ chdir: '{{ ansible_user_dir }}/workspace' environment: '{{ zuul | zuul_legacy_vars }}' - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - shell: cmd: | set -e