summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-06-11 17:53:55 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-06-12 00:29:17 +0200
commit607bc14c38dcd0b416f4caefdcb41b0a74012a55 (patch)
treec7c7a8a3a3f6add10f44b46ab8c01d5093a5cc6f /common
parentsk-cloudia: update nextcloud and jitsi-meet (diff)
harmonize vm install config
Diffstat (limited to 'common')
-rw-r--r--common/vm-install.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/vm-install.yml b/common/vm-install.yml
index f90d0cd0..4c33bcc4 100644
--- a/common/vm-install.yml
+++ b/common/vm-install.yml
@@ -9,17 +9,17 @@
when:
- "'kvmguests' not in group_names"
- - name: check if the vm_host belongs to the kvmhosts group
+ - name: check if the host system belongs to the kvmhosts group
fail:
- msg: "the host '{{ vm_host }}' does not belong to the group 'kvmhosts'"
+ msg: "the host '{{ install_cooked.vm.host }}' does not belong to the group 'kvmhosts'"
when:
- - "'kvmhosts' not in hostvars[vm_host].group_names"
+ - "'kvmhosts' not in hostvars[install_cooked.vm.host].group_names"
# TODO: add some more sanity checks
- name: create temporary host group for vm host
add_host:
- name: "{{ vm_host }}"
+ name: "{{ install_cooked.vm.host }}"
inventory_dir: "{{ inventory_dir }}"
group: _vmhost_