mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
virthost: update for RHEL 7.2 on ppc64le
This commit is contained in:
5
roles/virthost/files/rhel7-rhev-ppc64le.repo
Normal file
5
roles/virthost/files/rhel7-rhev-ppc64le.repo
Normal file
@@ -0,0 +1,5 @@
|
||||
[rhel7-os]
|
||||
name = rhel7 os $basearch
|
||||
baseurl=http://infrastructure.fedoraproject.org/repo/rhel/rhel7/$basearch/rhel-7-for-rhev-power-agents-rpms/
|
||||
includepkgs=qemu*
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
||||
@@ -21,7 +21,14 @@
|
||||
- rhel7-os-repo
|
||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 and ansible_architecture == 'x86_64'
|
||||
|
||||
- name: install libvirt packages on rhel7 virthosts (x86_64)
|
||||
- name: install RHEV for el7 repo file
|
||||
copy: src=rhel7-rhev-ppc64le.repo dest=/etc/yum.repos.d/rhel7-rhev-ppc64le.repo
|
||||
tags:
|
||||
- repos
|
||||
- rhel7-rhev-ppc64le
|
||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 and ansible_architecture == 'ppc64le'
|
||||
|
||||
- name: install libvirt packages on rhel7 virthosts
|
||||
yum: pkg={{ item }} state=present
|
||||
with_items:
|
||||
- qemu-kvm-rhev
|
||||
@@ -31,17 +38,7 @@
|
||||
- virt-install
|
||||
tags:
|
||||
- packages
|
||||
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
|
||||
- libvirt
|
||||
- virt-install
|
||||
tags:
|
||||
- packages
|
||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 and ansible_architecture == 'ppc64'
|
||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7
|
||||
|
||||
# install libvirtd.conf
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user