summaryrefslogtreecommitdiff
path: root/roles/install_isal/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install_isal/tasks/main.yaml')
-rw-r--r--roles/install_isal/tasks/main.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/roles/install_isal/tasks/main.yaml b/roles/install_isal/tasks/main.yaml
new file mode 100644
index 0000000..a9aa100
--- /dev/null
+++ b/roles/install_isal/tasks/main.yaml
@@ -0,0 +1,26 @@
+- name: Ensure legacy workspace directory
+ file:
+ path: '{{ ansible_user_dir }}/workspace'
+ state: directory
+
+- name: install yasm
+ package:
+ name: yasm
+ state: present
+ become: yes
+
+- name: Build and Install ISA-L
+ shell:
+ cmd: |
+ set -e
+ set -x
+ cd $WORKSPACE
+ git clone git://github.com/01org/isa-l.git
+ cd isa-l
+ ./autogen.sh
+ ./configure
+ make
+ sudo make install
+ executable: /bin/bash
+ chdir: '{{ ansible_user_dir }}/workspace'
+ environment: '{{ zuul | zuul_legacy_vars }}'