diff options
Diffstat (limited to 'common/vm-install.yml')
-rw-r--r-- | common/vm-install.yml | 4 |
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 |