diff options
Diffstat (limited to 'roles/vmm/templates/vm.conf.j2')
-rw-r--r-- | roles/vmm/templates/vm.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/vmm/templates/vm.conf.j2 b/roles/vmm/templates/vm.conf.j2 index f9fa6f5..ed20468 100644 --- a/roles/vmm/templates/vm.conf.j2 +++ b/roles/vmm/templates/vm.conf.j2 @@ -18,7 +18,7 @@ switch "{{ vmm.switch.name }}" { {% for vm in vms if hostvars[vm.name] is defined %} {% set guest = hostvars[vm.name] %} vm "{{ guest.ansible_host }}" { - {% if vm.enabled and vm.enabled is defined %} + {% if vm.enable is defined and vm.enable %} enable {% else %} disable |