Only install qemu-kvm-rhev on x86_64 for now until we sort out ppc support
This commit is contained in:
parent
ccbca3dc4a
commit
2e822d9ddb
1 changed files with 15 additions and 3 deletions
|
@ -19,9 +19,9 @@
|
||||||
tags:
|
tags:
|
||||||
- repos
|
- repos
|
||||||
- rhel7-os-repo
|
- rhel7-os-repo
|
||||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7
|
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 and ansible_architecture == 'x86_64'
|
||||||
|
|
||||||
- name: install libvirt packages on rhel7 virthosts
|
- name: install libvirt packages on rhel7 virthosts (x86_64)
|
||||||
yum: pkg={{ item }} state=present
|
yum: pkg={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- qemu-kvm-rhev
|
- qemu-kvm-rhev
|
||||||
|
@ -31,7 +31,19 @@
|
||||||
- virt-install
|
- virt-install
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7
|
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 and ansible_architecture == 'x86_64'
|
||||||
|
|
||||||
|
- name: install libvirt packages on rhel7 virthosts (not x86_64)
|
||||||
|
yum: pkg={{ item }} state=present
|
||||||
|
with_items:
|
||||||
|
- qemu-kvm
|
||||||
|
- qemu-kvm-tools
|
||||||
|
- qemu-img
|
||||||
|
- libvirt
|
||||||
|
- virt-install
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 and ansible_architecture != 'x86_64'
|
||||||
|
|
||||||
# install libvirtd.conf
|
# install libvirtd.conf
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue