summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-01-03 22:42:20 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-01-03 22:42:20 +0100
commit9a8c06e53273fb6fb35c16aeb2429320b421f6a8 (patch)
treeec53d8788a917171f973e08fe02cbde5c619b0d0 /common
parentadd new openwrt-based testvm (diff)
first basic version of openwrt-based vms
Diffstat (limited to 'common')
-rw-r--r--common/vm-deploy.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/common/vm-deploy.yml b/common/vm-deploy.yml
index e7c9ded7..bc2e8039 100644
--- a/common/vm-deploy.yml
+++ b/common/vm-deploy.yml
@@ -22,11 +22,9 @@
when:
- (output_images | length) != 1
- - name: fetch infos from image file
- stat:
- path: "{{ output_images | first }}"
- get_mime: yes
- register: output_images_info
- - debug:
- var: output_images_info.stat
+- name: deploy vm
+ hosts: "{{ install_hostname }}"
+ gather_facts: no
+ roles:
+ - role: vm/guest/deploy