From ea0f022d1e2bfd3a130a8e65ad611d9d921d48b5 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sat, 3 Oct 2020 13:45:12 +0700 Subject: [PATCH] Install OpenNebula --- roles/opennebula/defaults/main.yml | 15 ++++++++------- roles/opennebula/tasks/main.yml | 7 ++++++- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/roles/opennebula/defaults/main.yml b/roles/opennebula/defaults/main.yml index 2a722e91..6f99dbbd 100644 --- a/roles/opennebula/defaults/main.yml +++ b/roles/opennebula/defaults/main.yml @@ -1,9 +1,10 @@ --- opennebula_packages: - - opennebula - - opennebula-common - - opennebula-flow - - opennebula-gate - - opennebula-node-lxd - - opennebula-sunstone - - opennebula-tools + - opennebula # Command Line Interface + - opennebula-flow # OneFlow manages services and elasticity + - opennebula-gate # OneGate server that enables communication between VMs and OpenNebula + - opennebula-node-firecracker # Dependencies and configurations for Firecracker hypervisor node + - opennebula-node-kvm # Dependencies and configurations for KVM hypervisor node + - opennebula-rubygems # Bundled Ruby gem dependencies + - opennebula-server # OpenNebula Daemon and Scheduler + - opennebula-sunstone # The GUI and the EC2 API diff --git a/roles/opennebula/tasks/main.yml b/roles/opennebula/tasks/main.yml index 6efadda4..d04f946b 100644 --- a/roles/opennebula/tasks/main.yml +++ b/roles/opennebula/tasks/main.yml @@ -8,8 +8,13 @@ gpgcheck: yes repo_gpgcheck: yes +- name: Enable EPEL repository + yum: + name: epel-release + state: present + - name: Install OpenNebula - package: + yum: name: "{{ opennebula_packages }}" state: present