From c0e698b44c034c6f0d4765d14033ddb5f3e317b6 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 2 Jan 2022 02:09:52 +0100 Subject: variable cookin: deal with unset variables --- spreadspace/vm-install.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spreadspace/vm-install.yml') diff --git a/spreadspace/vm-install.yml b/spreadspace/vm-install.yml index 7db00cba..da6a29a5 100644 --- a/spreadspace/vm-install.yml +++ b/spreadspace/vm-install.yml @@ -4,8 +4,8 @@ gather_facts: no tasks: - set_fact: - install: "{{ install }}" - network: "{{ network }}" - vm_host: "{{ vm_host }}" + install: "{{ install | default({}) }}" + network: "{{ network | default({}) }}" + vm_host: "{{ vm_host | default({}) }}" - import_playbook: ../common/vm-install.yml -- cgit v1.2.3