From 836b2602da5b7b795f8407e5e5f244821c073220 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Mar 11 2022 10:28:18 +0000 Subject: OSCI-2969: Install the role_pkgs_req in standard-test-beakerlib. The code to install role_pkgs_req was removed in https://pagure.io/standard-test-roles/c/bd713040bbfde324fe4435734be8307401a04924. Since then, the beakerlib-libraries and other beakerlib dependencies are not installed when this role is used. This commit runs the str-common-pkgs role again to hopefully install the needed packages. Signed-off-by: Jan Kaluza --- diff --git a/roles/standard-test-beakerlib/tasks/main.yml b/roles/standard-test-beakerlib/tasks/main.yml index 0de1d1b..7739eb3 100644 --- a/roles/standard-test-beakerlib/tasks/main.yml +++ b/roles/standard-test-beakerlib/tasks/main.yml @@ -1,5 +1,20 @@ --- +- include_role: + name: str-common-init + tasks_from: inspect + +- name: Install packages requested in `required_packages` section from tests.yml + include_role: + name: str-common-pkgs + vars: + param_req_pkgs: + - "{{ required_packages|d|list }}" + - "{{ role_pkgs_req|d|list }}" + +- name: Include vars from str-common-pkgs + include_vars: ../str-common-pkgs/defaults/main.yml + - name: Turn on usroverlay for Atomic Host when: is_atomic # This is dirty hack. It was made as temporary solution.