From 64c6a74de2b46d743700454887c240f72a192cb3 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Fri, 10 May 2019 11:12:35 +0300 Subject: [PATCH] =?UTF-8?q?Fix=20tmpdir=20cleaning=20error=20when=20tmpdir?= =?UTF-8?q?=20is=20not=20created.=C2=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/include/vm-create.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/include/vm-create.yml b/playbooks/include/vm-create.yml index 4e98151..c9cd947 100644 --- a/playbooks/include/vm-create.yml +++ b/playbooks/include/vm-create.yml @@ -77,7 +77,7 @@ path: "{{ tmpdir.path }}" state: absent delegate_to: localhost - when: tmpdir + when: tmpdir.path is defined - name: start vm virt: