fix(packer): prevent task failure when packer_variables is not defined

Change-Id: I402ea6a823077b0b48bcfe5577c6deefb5f1738b
This commit is contained in:
Andy Ladjadj
2022-04-06 10:47:02 +02:00
parent 7932e7ccc9
commit 7df1f0702c

View File

@@ -36,3 +36,4 @@
file:
state: absent
path: "{{ packer_variable_tempfile.path }}"
when: packer_variables is defined