diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-11-21 03:42:54 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-11-21 03:42:54 +0100 |
commit | 8828d4e11c28da88d65e45014431361aabb0c3d5 (patch) | |
tree | 759456a48196e108cf35bab4f1c6a774e8c20170 /chaos-at-home | |
parent | add some vmhost test machines (diff) |
use delegation for vm/guest install and define
Diffstat (limited to 'chaos-at-home')
-rw-r--r-- | chaos-at-home/vm-install.yml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/chaos-at-home/vm-install.yml b/chaos-at-home/vm-install.yml index b6a69b67..7d8e7320 100644 --- a/chaos-at-home/vm-install.yml +++ b/chaos-at-home/vm-install.yml @@ -1,5 +1,5 @@ --- -- name: cook variables for guest +- name: cook variables for host hosts: "{{ install_hostname }}" gather_facts: no tasks: @@ -8,11 +8,4 @@ network_cooked: "{{ network }}" vm_host_cooked: "{{ vm_host }}" -- name: cook variables for host - hosts: "{{ hostvars[install_hostname].vm_host.name }}" - gather_facts: no - tasks: - - set_fact: - vm_host_cooked: "{{ vm_host }}" - - import_playbook: ../common/vm-install.yml |