diff options
Diffstat (limited to 'roles/bhyve/tasks/guest.yml')
-rw-r--r-- | roles/bhyve/tasks/guest.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/bhyve/tasks/guest.yml b/roles/bhyve/tasks/guest.yml index 9cabf90..b24b434 100644 --- a/roles/bhyve/tasks/guest.yml +++ b/roles/bhyve/tasks/guest.yml @@ -4,11 +4,11 @@ --- -- name: check kvm directory +- name: check vm directory stat: path="/data/bhyve/{{ guest.name }}" register: st -- name: create all vm bound with current host +- name: create all disks bound with current host shell: vm create -s "{{ guest.disks[0].size }}" "{{ guest.name }}" when: st.stat.isdir is not defined |