summaryrefslogtreecommitdiffstats
path: root/roles/virthost/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/virthost/tasks/main.yml')
-rw-r--r--roles/virthost/tasks/main.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/roles/virthost/tasks/main.yml b/roles/virthost/tasks/main.yml
index ddba767c7..44c1df1a9 100644
--- a/roles/virthost/tasks/main.yml
+++ b/roles/virthost/tasks/main.yml
@@ -14,10 +14,19 @@
- packages
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 6
+- name: install openstack 7 repo file
+ copy: src=rhel7-os.repo dest=/etc/yum.repos.d/rhel7-os.repo
+ tags:
+ - repos
+ - rhel7-os-repo
+ when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7
+
- name: install libvirt packages on rhel7 virthosts
yum: pkg={{ item }} state=present
with_items:
- - qemu-kvm
+ - qemu-kvm-rhev
+ - qemu-kvm-tools-rhev
+ - qemu-img-rhev
- libvirt
- virt-install
tags: