Ongoing work to establish working baseline
This commit is contained in:
17
roles/hypervisor/tasks/main.yml
Normal file
17
roles/hypervisor/tasks/main.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
- 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
|
Reference in New Issue
Block a user