From a7a8ff69f563496fd13e7b251ded976384befc5c Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Wed, 18 Sep 2019 15:48:29 +0200 Subject: [PATCH] Correct variables in the POST job image_name -> image_type Change-Id: Ica3ccbda25633d450a0e22111829cdc0115cf0f8 --- playbooks/ironic-python-agent-build-image/post.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/ironic-python-agent-build-image/post.yaml b/playbooks/ironic-python-agent-build-image/post.yaml index f83668c..9806044 100644 --- a/playbooks/ironic-python-agent-build-image/post.yaml +++ b/playbooks/ironic-python-agent-build-image/post.yaml @@ -8,14 +8,14 @@ - name: Ensure artifacts directory exists file: - path: '{{ zuul.executor.work_root }}/artifacts/{{ image_name }}/files' + path: '{{ zuul.executor.work_root }}/artifacts/{{ image_type }}/files' state: directory delegate_to: localhost - name: Copy files from {{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-agent on node synchronize: src: '{{ ipa_raw_dir }}' - dest: '{{ zuul.executor.work_root }}/artifacts/{{ image_name }}/files/' + dest: '{{ zuul.executor.work_root }}/artifacts/{{ image_type }}/files/' mode: pull copy_links: true verify_host: true @@ -26,7 +26,7 @@ - name: Copy files from {{ ansible_user_dir }}/src/opendev.org/openstack/ironic-python-agent on node synchronize: src: '{{ ipa_tar_dir }}' - dest: '{{ zuul.executor.work_root }}/artifacts/{{ image_name }}/' + dest: '{{ zuul.executor.work_root }}/artifacts/{{ image_type }}/' mode: pull copy_links: true verify_host: true