summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-06-22 02:37:11 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-06-22 02:37:11 +0200
commit5a35c210ddb64998586b69b921e8d721395f09d5 (patch)
tree9a65e26f147c59ab379e1cd23a1baf60ac5d5264 /common
parentMerge branch 'topic/kubernetes-network-plugins' (diff)
parentconverted other physical machines to new network config (diff)
Merge branch 'topic/network-interfaces-variables-refactoring'
Diffstat (limited to 'common')
-rw-r--r--common/vm-install.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/vm-install.yml b/common/vm-install.yml
index 4c33bcc4..b0c3815a 100644
--- a/common/vm-install.yml
+++ b/common/vm-install.yml
@@ -11,15 +11,15 @@
- name: check if the host system belongs to the kvmhosts group
fail:
- msg: "the host '{{ install_cooked.vm.host }}' does not belong to the group 'kvmhosts'"
+ msg: "the host '{{ vm_host_cooked.name }}' does not belong to the group 'kvmhosts'"
when:
- - "'kvmhosts' not in hostvars[install_cooked.vm.host].group_names"
+ - "'kvmhosts' not in hostvars[vm_host_cooked.name].group_names"
# TODO: add some more sanity checks
- name: create temporary host group for vm host
add_host:
- name: "{{ install_cooked.vm.host }}"
+ name: "{{ vm_host_cooked.name }}"
inventory_dir: "{{ inventory_dir }}"
group: _vmhost_