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
This commit is contained in:
Dao Cong Tien 2017-10-10 16:03:14 +07:00
parent 5483efab0f
commit f2281fd8df

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