#408 OSCI-2969: Install the role_pkgs_req in standard-test-beakerlib.
Opened 3 years ago by jkaluza. Modified 2 years ago
jkaluza/standard-test-roles role_pkgs_req  into  master

@@ -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

No need for this.
I opened ticket : I opened ticket: https://issues.redhat.com/browse/TFT-1445 to understand what is going on

This PR can be closed.

+ 

  - name: Turn on usroverlay for Atomic Host

    when: is_atomic

    # This is dirty hack. It was made as temporary solution.

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 jkaluza@redhat.com

I have no idea idea how to test this...

No need for this.
I opened ticket : I opened ticket: https://issues.redhat.com/browse/TFT-1445 to understand what is going on

This PR can be closed.

Metadata