summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-07-07 22:09:19 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-11 02:29:02 +0200
commit6eacc2ad5539abf37dc90cd378b44320f7758869 (patch)
treeeacbf207b610a8ee93f830b381d91491671f6ae5 /common
parentch-oulu: interface config (diff)
refactor vm role names
Diffstat (limited to 'common')
-rw-r--r--common/vm-install.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/common/vm-install.yml b/common/vm-install.yml
index b0c3815a..ac36f3c5 100644
--- a/common/vm-install.yml
+++ b/common/vm-install.yml
@@ -27,7 +27,7 @@
- name: basic installation
hosts: _vmhost_
roles:
- - role: vm/install
+ - role: vm/guest/install
- name: wait for new vm to start up
@@ -58,11 +58,9 @@
- name: make sure to update cached facts
setup:
roles:
- - role: vm/grub
+ - role: vm/guest/base
when: install_distro in ['debian', 'ubuntu']
- - role: vm/network
- when: install_distro in ['debian', 'ubuntu']
- - role: vm/guest
+ - role: vm/guest/network
when: install_distro in ['debian', 'ubuntu']
- name: reboot and wait for VM come back