virt: add aarch64 specific bits

This commit is contained in:
Peter Robinson 2016-09-04 14:13:23 +00:00
parent 87a06e08d2
commit af2c203ecc
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,14 @@
[rhel7-aarch64-extras]
name=Extra bits that don't currently ship in RHELSA 7.2
baseurl=http://infrastructure.fedoraproject.org/repo/rhel/aarch64-virt/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
gpgcheck=0
[epel]
name=Extras Packages for Enterprise Linux $releasever - x86_64
baseurl=http://infrastructure.fedoraproject.org/pub/epel/7/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7

View file

@ -28,6 +28,13 @@
- rhel7-rhev-ppc64le
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 and ansible_architecture == 'ppc64le'
- name: install virt repo for el7 aarch64 file
copy: src=rhel7-aarch64extras.repo dest=/etc/yum.repos.d/rhel7-aarch64extras.repo
tags:
- repos
- rhel7-rhev-ppc64le
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 and ansible_architecture == 'aarch64'
- name: install libvirt packages on rhel7 virthosts
yum: pkg={{ item }} state=present
with_items:
@ -40,6 +47,14 @@
- packages
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7
- name: install AAVMF uEFI tianocore on aarch64 rhel7 virthosts
yum: pkg={{ item }} state=present
with_items:
- AAVMF
tags:
- packages
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 and ansible_architecture == 'aarch64'
# install libvirtd.conf
#
# This provides us with the ability to use virt-manager from non root accounts.