Vagrant: Add libvirt dependency and install libvirt plugin
This commit is contained in:
parent
eeccfa8a0a
commit
ca4e030293
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
dependencies:
|
||||
- role: check-sudo
|
||||
- role: libvirt
|
||||
|
|
|
@ -13,3 +13,9 @@
|
|||
- vagrant
|
||||
- vagrant-libvirt
|
||||
when: ansible_facts['distribution'] == 'Debian'
|
||||
|
||||
- name: Install libvirt provider
|
||||
ansible.builtin.command:
|
||||
cmd: vagrant plugin install vagrant-libvirt
|
||||
creates: ~/.vagrant.d/gems/*/gems/vagrant-libvirt-*
|
||||
when: ansible_facts['distribution'] == 'Archlinux'
|
||||
|
|
Loading…
Add table
Reference in a new issue