From 8828d4e11c28da88d65e45014431361aabb0c3d5 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 21 Nov 2020 03:42:54 +0100 Subject: use delegation for vm/guest install and define --- common/vm-install.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'common') diff --git a/common/vm-install.yml b/common/vm-install.yml index 5084ba0b..ce438905 100644 --- a/common/vm-install.yml +++ b/common/vm-install.yml @@ -17,15 +17,10 @@ # TODO: add some more sanity checks - - name: create temporary host group for vm host - add_host: - name: "{{ vm_host_cooked.name }}" - inventory_dir: "{{ inventory_dir }}" - group: _vmhost_ - - name: basic installation - hosts: _vmhost_ + hosts: "{{ install_hostname }}" + gather_facts: no roles: - role: vm/guest/install -- cgit v1.2.3