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