summaryrefslogtreecommitdiff
path: root/common/vm-install.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-01-01 20:19:56 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-01-01 20:19:56 +0100
commitd90144d2190009f8bd121cb8f773a9209500f034 (patch)
tree2d258279d2179afc58fd91c741e0b5fa56246c9f /common/vm-install.yml
parentMerge branch 'topic/revamp-openwrt-imag-gen' (diff)
in-place variable cooking
Diffstat (limited to 'common/vm-install.yml')
-rw-r--r--common/vm-install.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/vm-install.yml b/common/vm-install.yml
index 6c98ae73..90b08c56 100644
--- a/common/vm-install.yml
+++ b/common/vm-install.yml
@@ -11,9 +11,9 @@
- name: check if the host system belongs to the kvmhosts group
fail:
- msg: "the host '{{ vm_host_cooked.name }}' does not belong to the group 'kvmhosts'"
+ msg: "the host '{{ vm_host.name }}' does not belong to the group 'kvmhosts'"
when:
- - "'kvmhosts' not in hostvars[vm_host_cooked.name].group_names"
+ - "'kvmhosts' not in hostvars[vm_host.name].group_names"
# TODO: add some more sanity checks