summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zuul.yaml3
-rw-r--r--roles/install_isal/tasks/main.yaml8
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