18 lines
464 B
YAML
18 lines
464 B
YAML
|
- name: Check system compatibility
|
||
|
when: ansible_distribution != "CentOS" and ansible_distribution != "Red Hat Enterprise Linux"
|
||
|
meta: end_play
|
||
|
debug:
|
||
|
msg: "Hypervisor deployment is only supported on CentOS and RHEL"
|
||
|
|
||
|
- name: Install OVirt repository
|
||
|
become: true
|
||
|
yum:
|
||
|
name: http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
|
||
|
state: latest
|
||
|
|
||
|
- name: Install OVirt Engine
|
||
|
become: true
|
||
|
yum:
|
||
|
name: ovirt-engine
|
||
|
state: latest
|