From 7f7edb26bbc0ac48ccdafa423d7b3cc5a75f2625 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Mon, 8 Apr 2019 12:44:45 -0700 Subject: Install yasm in RHEL based systems ...then switch CentOS job to be a voting gate job instead of experimental. Change-Id: I510e4da82deb779ece9ea5436b63c038a6c25b58 --- .zuul.yaml | 3 +-- roles/install_isal/tasks/main.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 2565a73..e6ffcb6 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -17,9 +17,8 @@ check: jobs: - liberasurecode-unittests + - liberasurecode-unittests-centos-7 gate: jobs: - liberasurecode-unittests - experimental: - jobs: - liberasurecode-unittests-centos-7 diff --git a/roles/install_isal/tasks/main.yaml b/roles/install_isal/tasks/main.yaml index a9aa100..62ea807 100644 --- a/roles/install_isal/tasks/main.yaml +++ b/roles/install_isal/tasks/main.yaml @@ -3,6 +3,14 @@ path: '{{ ansible_user_dir }}/workspace' state: directory +- name: install yasm in RHEL based systems + yum: + name: yasm + enablerepo: epel + state: present + when: ansible_distribution in ['RedHat', 'CentOS'] + become: yes + - name: install yasm package: name: yasm -- cgit v1.2.1