Skip to content

Commit

Permalink
libvirt: ignore error if pool is already defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenzel authored Nov 2, 2024
1 parent 1f90a99 commit 5627241
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vagrant/ansible/roles/vm/tasks/libvirt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@

- name: define libvirt pool
command: virsh -c qemu:///system pool-define-as default --type dir --target /data/vms
ignore_errors: yes

- name: build libvirt pool
command: virsh -c qemu:///system pool-build default
Expand Down

0 comments on commit 5627241

Please sign in to comment.