diff --git a/roles/hosted_engine_setup/tasks/enable_repositories.yml b/roles/hosted_engine_setup/tasks/enable_repositories.yml new file mode 100644 index 000000000..38486be43 --- /dev/null +++ b/roles/hosted_engine_setup/tasks/enable_repositories.yml @@ -0,0 +1,6 @@ +--- +- name: Setup Repositories on Local VM + import_role: + name: ovirt.ovirt.repositories + delegate_to: "{{ groups.engine[0] }}" + when: ovirt_repositories_ovirt_release_rpm is defined diff --git a/roles/hosted_engine_setup/tasks/full_execution.yml b/roles/hosted_engine_setup/tasks/full_execution.yml index 8659a4401..d1bcd9052 100644 --- a/roles/hosted_engine_setup/tasks/full_execution.yml +++ b/roles/hosted_engine_setup/tasks/full_execution.yml @@ -1,6 +1,9 @@ --- - name: Install packages and bootstrap local engine VM block: + - name: Enable Repositories for oVirt Hosted Engine deployment + import_tasks: enable_repositories.yml + - name: Install required packages for oVirt Hosted Engine deployment import_tasks: install_packages.yml