try to make sure that we have a working vbox
This commit is contained in:
parent
d05b182aa8
commit
729b962bdd
1 changed files with 18 additions and 1 deletions
|
@ -84,7 +84,24 @@
|
||||||
- vagrant
|
- vagrant
|
||||||
register: virtualbox_installed
|
register: virtualbox_installed
|
||||||
check_mode: no
|
check_mode: no
|
||||||
when: autocloud_specialization == 'virtualbox'
|
when: autocloud_specialization == 'virtualbox' and inventory_hostname == 'autocloud-libvirt-vbox.phx2.fedoraproject.org'
|
||||||
|
notify:
|
||||||
|
- restart fedmsg-hub
|
||||||
|
- restart autocloud
|
||||||
|
tags:
|
||||||
|
- autocloud
|
||||||
|
- autocloud/backend
|
||||||
|
|
||||||
|
- name: install virtualbox basics where needed
|
||||||
|
dnf: pkg={{ item }} state=present
|
||||||
|
with_items:
|
||||||
|
- VirtualBox-5.1
|
||||||
|
- kernel-devel
|
||||||
|
- gcc
|
||||||
|
- vagrant
|
||||||
|
register: virtualbox_installed
|
||||||
|
check_mode: no
|
||||||
|
when: autocloud_specialization == 'virtualbox' and inventory_hostname == 'autocloud-libvirt-vbox2.phx2.fedoraproject.org'
|
||||||
notify:
|
notify:
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
- restart autocloud
|
- restart autocloud
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue