sysfsutils/tests/tests.yaml
Chris White 1d651cd284 Adding in standard tier0 tests folder:
- The tier0 functional test where failing to kick off. Adding in
  tests folder with ansible test.

Resolves: rhbz#1975886
Signed-off-by: Chris White <chwhite@redhat.com>
2021-08-16 17:01:40 +00:00

49 lines
858 B
YAML

---
- hosts: localhost
tags:
- classic
tasks:
- name: Add executor host
add_host:
name: executor
ansible_connection: local
ansible_host: 127.0.0.1
ansible_ssh_connection: local
- name: Install build requires
delegate_to: executor
shell: dnf -y install autoconf automake
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- hosts: localhost
tags:
- classic
tasks:
- name: Copy spec file to remote machine
copy:
src: "{{ playbook_dir }}/../sysfsutils.spec"
dest: /tmp/sysfsutils.spec
- name: Install build deps
shell: dnf -y build-dep /tmp/sysfsutils.spec
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
tests:
- smoke
required_packages:
- gcc
- sed
- make
- gawk
- autoconf
- m4