mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-07-28 12:55:43 +00:00
See https://pagure.io/fedora-project-config/issue/340 and https://github.com/ansible/ansible/issues/84206 . We need to force install python3-libdnf5 or ansible can't manage packages. Signed-off-by: Adam Williamson <awilliam@redhat.com>
15 lines
470 B
YAML
15 lines
470 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Include dnf dependency workaround task
|
|
ansible.builtin.include_tasks:
|
|
file: dnf-dependency.yaml
|
|
- name: Install required packages
|
|
package:
|
|
name: ['os-autoinst', 'perl-Test-Strict', 'perl-Test-Harness', 'perl-JSON', 'perl-REST-Client', 'perl-Code-TidyAll']
|
|
state: present
|
|
become: yes
|
|
- name: Run perl tests
|
|
command: prove t/
|
|
args:
|
|
chdir: '{{ zuul.project.src_dir }}'
|