summaryrefslogtreecommitdiff
path: root/roles
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 /roles
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
Diffstat (limited to 'roles')
-rw-r--r--roles/install_isal/tasks/main.yaml8
1 files changed, 8 insertions, 0 deletions
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