summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2019-04-08 12:44:45 -0700
committerThiago da Silva <thiagodasilva@gmail.com>2019-04-09 10:09:16 -0400
commit7f7edb26bbc0ac48ccdafa423d7b3cc5a75f2625 (patch)
treedff43333b5a700699aca35eef76f101ddf9af91a
parent8d7877fb19c0f23a4dd2140ec3ca6836298d2661 (diff)
downloadliberasurecode-7f7edb26bbc0ac48ccdafa423d7b3cc5a75f2625.tar.gz
Install yasm in RHEL based systems
...then switch CentOS job to be a voting gate job instead of experimental. Change-Id: I510e4da82deb779ece9ea5436b63c038a6c25b58
-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