aboutsummaryrefslogtreecommitdiffstats
path: root/roles/bhyve/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bhyve/tasks')
-rw-r--r--roles/bhyve/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/bhyve/tasks/main.yml b/roles/bhyve/tasks/main.yml
index 1b7470f..03d2d96 100644
--- a/roles/bhyve/tasks/main.yml
+++ b/roles/bhyve/tasks/main.yml
@@ -4,6 +4,9 @@
---
+- name: retrieve all valid vms
+ set_fact: valid_vms="{% for vm in vms %}{{ vm.name }} {% endfor %}"
+
- name: create bhyve group
group:
name: bhyve
@@ -37,9 +40,6 @@
- grub2-bhyve
- devcpu-data
-- name: retrieve all valid vms
- set_fact: valid_vms="{% for vm in vms %}{{ vm.name }} {% endfor %}"
-
- name: enable bhyve vm
shell: |
sysrc vm_enable="YES"
remember that computers suck.