autocloud/backend: Convert from dnf/with_items to package/name.

This commit is contained in:
James Antill 2019-06-11 10:30:56 -04:00 committed by pingou
parent fc0ae206cc
commit c3a95ecd4b

View file

@ -2,8 +2,9 @@
# Configuration for the Fedora Notifications webapp
- name: install needed packages
dnf: pkg={{ item }} state=present
with_items:
package:
state: present
name:
- autocloud-common
- autocloud-backend
- tunir
@ -57,8 +58,9 @@
- autocloud/backend
- name: install libvirt and vagrant-libvirt for the libvirt host
dnf: pkg={{ item }} state=present
with_items:
package:
state: present
name:
- libvirt
- vagrant-libvirt
when: autocloud_specialization == 'libvirt'
@ -70,8 +72,9 @@
- autocloud/backend
- name: install libvirt for the aarch64 host
dnf: pkg={{ item }} state=present
with_items:
package:
state: present
name:
- libvirt
when: autocloud_specialization == 'aarch64'
notify:
@ -90,8 +93,9 @@
- autocloud/backend
- name: install virtualbox basics where needed
dnf: pkg={{ item }} state=present
with_items:
package:
state: present
name:
- VirtualBox-4.3
- kernel-devel
- gcc
@ -107,8 +111,9 @@
- autocloud/backend
- name: install virtualbox basics where needed
dnf: pkg={{ item }} state=present
with_items:
package:
state: present
name:
- VirtualBox-5.1
- kernel-devel
- gcc