summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-11-21 03:42:54 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-11-21 03:42:54 +0100
commit8828d4e11c28da88d65e45014431361aabb0c3d5 (patch)
tree759456a48196e108cf35bab4f1c6a774e8c20170 /common
parentadd some vmhost test machines (diff)
use delegation for vm/guest install and define
Diffstat (limited to 'common')
-rw-r--r--common/vm-install.yml9
1 files changed, 2 insertions, 7 deletions
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